summaryrefslogtreecommitdiff
path: root/src/encoder.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/encoder.hpp')
-rw-r--r--src/encoder.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/encoder.hpp b/src/encoder.hpp
index 90517fe..695c9f0 100644
--- a/src/encoder.hpp
+++ b/src/encoder.hpp
@@ -44,7 +44,7 @@ namespace zmq
bufsize (bufsize_)
{
buf = (unsigned char*) malloc (bufsize_);
- zmq_assert (buf);
+ alloc_assert (buf);
}
// The destructor doesn't have to be virtual. It is made virtual