From b7de164d6251dc066123b59bc15d30c74e920756 Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Sun, 26 Jul 2015 16:03:14 -0400 Subject: Cut-in CRYPTOPP_ASSERT in all remaining header and source files --- smartptr.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'smartptr.h') diff --git a/smartptr.h b/smartptr.h index 21987cce..daa53255 100644 --- a/smartptr.h +++ b/smartptr.h @@ -228,9 +228,9 @@ public: {delete [] this->m_ptr;} member_ptr& operator[](size_t index) - {assert(indexm_size); return this->m_ptr[index];} + {CRYPTOPP_ASSERT(indexm_size); return this->m_ptr[index];} const member_ptr& operator[](size_t index) const - {assert(indexm_size); return this->m_ptr[index];} + {CRYPTOPP_ASSERT(indexm_size); return this->m_ptr[index];} size_t size() const {return this->m_size;} void resize(size_t newSize) -- cgit v1.2.1