summaryrefslogtreecommitdiff
path: root/src/decoder.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/decoder.hpp')
-rw-r--r--src/decoder.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/decoder.hpp b/src/decoder.hpp
index 80987a8..6d28801 100644
--- a/src/decoder.hpp
+++ b/src/decoder.hpp
@@ -54,7 +54,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 mad virtual