diff options
Diffstat (limited to 'smartptr.h')
-rw-r--r-- | smartptr.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -228,9 +228,9 @@ public: {delete [] this->m_ptr;} member_ptr<T>& operator[](size_t index) - {assert(index<this->m_size); return this->m_ptr[index];} + {CRYPTOPP_ASSERT(index<this->m_size); return this->m_ptr[index];} const member_ptr<T>& operator[](size_t index) const - {assert(index<this->m_size); return this->m_ptr[index];} + {CRYPTOPP_ASSERT(index<this->m_size); return this->m_ptr[index];} size_t size() const {return this->m_size;} void resize(size_t newSize) |