diff options
author | Martin Sustrik <sustrik@250bpm.com> | 2011-05-03 23:20:43 +0200 |
---|---|---|
committer | Martin Sustrik <sustrik@250bpm.com> | 2011-05-03 23:20:43 +0200 |
commit | ceb5e1a0734b0c73bd7f74ec5094ae6ad4f9dfc4 (patch) | |
tree | f051d16958ee71d418e4899c500e355d4acd9601 /src/msg.cpp | |
parent | 5e329ba7cac8a52fbbd2c347064c2d9355009022 (diff) |
Deallocation functions in zmq.h and msg_t class are consistent.
The two functions had different calling conventions (C vs. C++).
It is fixed now.
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Diffstat (limited to 'src/msg.cpp')
-rw-r--r-- | src/msg.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/msg.cpp b/src/msg.cpp index fa871db..f88a902 100644 --- a/src/msg.cpp +++ b/src/msg.cpp @@ -68,7 +68,7 @@ int zmq::msg_t::init_size (size_t size_) return 0; } -int zmq::msg_t::init_data (void *data_, size_t size_, zmq_free_fn *ffn_, +int zmq::msg_t::init_data (void *data_, size_t size_, msg_free_fn *ffn_, void *hint_) { u.lmsg.type = type_lmsg; |