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