mirror of
https://github.com/zeromq/cppzmq.git
synced 2025-10-15 23:20:09 +02:00
Fix message_t::gets.
- Add a missing underscore. - Remove const as msg is passed by reference.
This commit is contained in:
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;
|
||||
|
Reference in New Issue
Block a user