mirror of
https://github.com/zeromq/cppzmq.git
synced 2025-05-17 20:21:38 +02: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;
|
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)
|
if (value == NULL)
|
||||||
throw error_t ();
|
throw error_t ();
|
||||||
return value;
|
return value;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user