zeromq / zmqpp

0mq 'highlevel' C++ bindings
http://zeromq.github.io/zmqpp
Mozilla Public License 2.0
438 stars 195 forks source link

change template method message::get(n) to const #183

Closed gasuketsu closed 7 years ago

gasuketsu commented 7 years ago

According to current implementation, template method message::get(size_t) can be const method since the method change nothing in the object itself. This patch just changes current template method to const and user can call the method for const zmqpp::message objects.