mirror of
https://github.com/Relintai/rcpp_framework.git
synced 2024-11-10 00:52:11 +01:00
Fix typo.
This commit is contained in:
parent
8dda820a54
commit
e946184d2c
@ -29,8 +29,8 @@ public:
|
||||
void append_array(const Vector<T> &other);
|
||||
int find(const T &val) const;
|
||||
|
||||
int *dataw();
|
||||
const int *data() const;
|
||||
T *dataw();
|
||||
const T *data() const;
|
||||
|
||||
const T &operator[](const int index) const;
|
||||
T &operator[](const int index);
|
||||
@ -202,12 +202,12 @@ int Vector<T>::find(const T &val) const {
|
||||
}
|
||||
|
||||
template <class T>
|
||||
int *Vector<T>::dataw() {
|
||||
T *Vector<T>::dataw() {
|
||||
return _data;
|
||||
}
|
||||
|
||||
template <class T>
|
||||
const int *Vector<T>::data() const {
|
||||
const T *Vector<T>::data() const {
|
||||
return _data;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user