Updated to build with gcc 4.7.

(cherry picked from commit 6be9bf3cfc)
v3.5.13-sru
Darrell Anderson 13 years ago committed by Slávek Banko
parent 418634c67c
commit c51a55aa4b

@ -65,12 +65,12 @@ template<class T> Array<T>::Array(T *d, int s)
, data(d) , data(d)
, dataSize(s) , dataSize(s)
{ {
setRawData(data, dataSize / sizeof(T)); this->setRawData(data, dataSize / sizeof(T));
} }
template<class T> Array<T>::~Array() template<class T> Array<T>::~Array()
{ {
resetRawData(data, dataSize / sizeof(T)); this->resetRawData(data, dataSize / sizeof(T));
} }
// File manages all the files, pointers, and memory management associated // File manages all the files, pointers, and memory management associated

Loading…
Cancel
Save