Add const to do_inter_process_publish

This commit is contained in:
Jackie Kay 2015-10-14 11:41:24 -07:00
parent 36e0dcd8ba
commit a30b9d5539

View file

@ -311,7 +311,7 @@ public:
protected: protected:
void void
do_inter_process_publish(MessageT * msg) do_inter_process_publish(const MessageT * msg)
{ {
auto status = rmw_publish(publisher_handle_, msg); auto status = rmw_publish(publisher_handle_, msg);
if (status != RMW_RET_OK) { if (status != RMW_RET_OK) {