mirror of
https://github.com/zeromq/cppzmq.git
synced 2025-01-31 14:39:56 +01:00
Fix message_t::gets.
- Add a missing underscore. - Remove const as msg is passed by reference.
This commit is contained in:
parent
570ff93ea9
commit
1c8da7cd8d
4
zmq.hpp
4
zmq.hpp
@ -372,9 +372,9 @@ namespace zmq
|
||||
return a == b;
|
||||
}
|
||||
|
||||
inline const char* gets(const char *property_) const
|
||||
inline const char* gets(const char *property_)
|
||||
{
|
||||
const char* value = zmq_msg_gets (&msg, property);
|
||||
const char* value = zmq_msg_gets (&msg, property_);
|
||||
if (value == NULL)
|
||||
throw error_t ();
|
||||
return value;
|
||||
|
Loading…
x
Reference in New Issue
Block a user