Skip to content

Commit 8b52a6f

Browse files
authored
Merge pull request #92 from 0mp/master
Fix message_t::gets.
2 parents 5fcd5cf + 1c8da7c commit 8b52a6f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

zmq.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -372,9 +372,9 @@ namespace zmq
372372
return a == b;
373373
}
374374

375-
inline const char* gets(const char *property_) const
375+
inline const char* gets(const char *property_)
376376
{
377-
const char* value = zmq_msg_gets (&msg, property);
377+
const char* value = zmq_msg_gets (&msg, property_);
378378
if (value == NULL)
379379
throw error_t ();
380380
return value;

0 commit comments

Comments
 (0)