summaryrefslogtreecommitdiff
path: root/simple.h
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2015-07-26 16:03:14 -0400
committerJeffrey Walton <noloader@gmail.com>2015-07-26 16:03:14 -0400
commitb7de164d6251dc066123b59bc15d30c74e920756 (patch)
tree650e67242386d55616a2038c5cbc7042568ed377 /simple.h
parent7b64ca489a7e1da36b02b4a35d149275914d8268 (diff)
downloadcryptopp-git-b7de164d6251dc066123b59bc15d30c74e920756.tar.gz
Cut-in CRYPTOPP_ASSERT in all remaining header and source files
Diffstat (limited to 'simple.h')
-rw-r--r--simple.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/simple.h b/simple.h
index 56e648dd..53e3fcb9 100644
--- a/simple.h
+++ b/simple.h
@@ -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 &parameters=g_nullNameValuePairs, int propagation=-1) =0;
private:
- void IsolatedInitialize(const NameValuePairs &parameters) {assert(false);}
+ void IsolatedInitialize(const NameValuePairs &parameters) {CRYPTOPP_ASSERT(false);}
};
//! _