diff options
author | unknown <joreland@mysql.com> | 2004-06-23 23:33:28 +0200 |
---|---|---|
committer | unknown <joreland@mysql.com> | 2004-06-23 23:33:28 +0200 |
commit | 21b6aa5c2d1ec8f69ecd0f010b621588512b01fc (patch) | |
tree | 81405e3735cfafacc1bfbf630614332047d1b3a8 /ndb/src/kernel/vm/ArrayPool.hpp | |
parent | dc525227919d926d35fc012b202c55de94d74c6d (diff) | |
download | mariadb-git-21b6aa5c2d1ec8f69ecd0f010b621588512b01fc.tar.gz |
Fixes for gcc-3.4.0
Diffstat (limited to 'ndb/src/kernel/vm/ArrayPool.hpp')
-rw-r--r-- | ndb/src/kernel/vm/ArrayPool.hpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/ndb/src/kernel/vm/ArrayPool.hpp b/ndb/src/kernel/vm/ArrayPool.hpp index 284d29dcefa..4fc6bb97f73 100644 --- a/ndb/src/kernel/vm/ArrayPool.hpp +++ b/ndb/src/kernel/vm/ArrayPool.hpp @@ -795,8 +795,8 @@ inline void UnsafeArrayPool<T>::getPtrForce(Ptr<T> & ptr){ Uint32 i = ptr.i; - if(i < size){ - ptr.p = &theArray[i]; + if(i < this->size){ + ptr.p = &this->theArray[i]; } else { ErrorReporter::handleAssert("UnsafeArrayPool<T>::getPtr", __FILE__, __LINE__); @@ -808,8 +808,8 @@ inline void UnsafeArrayPool<T>::getPtrForce(ConstPtr<T> & ptr) const{ Uint32 i = ptr.i; - if(i < size){ - ptr.p = &theArray[i]; + if(i < this->size){ + ptr.p = &this->theArray[i]; } else { ErrorReporter::handleAssert("UnsafeArrayPool<T>::getPtr", __FILE__, __LINE__); @@ -820,8 +820,8 @@ template <class T> inline T * UnsafeArrayPool<T>::getPtrForce(Uint32 i){ - if(i < size){ - return &theArray[i]; + if(i < this->size){ + return &this->theArray[i]; } else { ErrorReporter::handleAssert("UnsafeArrayPool<T>::getPtr", __FILE__, __LINE__); @@ -833,8 +833,8 @@ template <class T> inline const T * UnsafeArrayPool<T>::getConstPtrForce(Uint32 i) const { - if(i < size){ - return &theArray[i]; + if(i < this->size){ + return &this->theArray[i]; } else { ErrorReporter::handleAssert("UnsafeArrayPool<T>::getPtr", __FILE__, __LINE__); @@ -847,8 +847,8 @@ inline void UnsafeArrayPool<T>::getPtrForce(Ptr<T> & ptr, Uint32 i){ ptr.i = i; - if(i < size){ - ptr.p = &theArray[i]; + if(i < this->size){ + ptr.p = &this->theArray[i]; return ; } else { ErrorReporter::handleAssert("UnsafeArrayPool<T>::getPtr", @@ -861,8 +861,8 @@ inline void UnsafeArrayPool<T>::getPtrForce(ConstPtr<T> & ptr, Uint32 i) const{ ptr.i = i; - if(i < size){ - ptr.p = &theArray[i]; + if(i < this->size){ + ptr.p = &this->theArray[i]; return ; } else { ErrorReporter::handleAssert("UnsafeArrayPool<T>::getPtr", |