diff options
author | Jeffrey Walton <noloader@gmail.com> | 2015-07-26 16:03:14 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2015-07-26 16:03:14 -0400 |
commit | b7de164d6251dc066123b59bc15d30c74e920756 (patch) | |
tree | 650e67242386d55616a2038c5cbc7042568ed377 /simple.h | |
parent | 7b64ca489a7e1da36b02b4a35d149275914d8268 (diff) | |
download | cryptopp-git-b7de164d6251dc066123b59bc15d30c74e920756.tar.gz |
Cut-in CRYPTOPP_ASSERT in all remaining header and source files
Diffstat (limited to 'simple.h')
-rw-r--r-- | simple.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -68,7 +68,7 @@ public: bool Flush(bool completeFlush, int propagation=-1, bool blocking=true) {return ChannelFlush(DEFAULT_CHANNEL, completeFlush, propagation, blocking);} bool IsolatedFlush(bool hardFlush, bool blocking) - {assert(false); return false;} + {CRYPTOPP_ASSERT(false); return false;} bool ChannelFlush(const std::string &channel, bool hardFlush, int propagation=-1, bool blocking=true) { if (hardFlush && !InputBufferIsEmpty()) @@ -111,7 +111,7 @@ public: virtual bool Flush(bool hardFlush, int propagation=-1, bool blocking=true) =0; private: - bool IsolatedFlush(bool hardFlush, bool blocking) {assert(false); return false;} + bool IsolatedFlush(bool hardFlush, bool blocking) {CRYPTOPP_ASSERT(false); return false;} }; //! _ @@ -122,7 +122,7 @@ public: virtual void Initialize(const NameValuePairs ¶meters=g_nullNameValuePairs, int propagation=-1) =0; private: - void IsolatedInitialize(const NameValuePairs ¶meters) {assert(false);} + void IsolatedInitialize(const NameValuePairs ¶meters) {CRYPTOPP_ASSERT(false);} }; //! _ |