From 1beadd16e4277ae7a2f25b577e63bf32079409cd Mon Sep 17 00:00:00 2001 From: bruceSz Date: Wed, 19 Dec 2018 17:11:23 +0800 Subject: [PATCH] fix minor errr in message_event.h --- ros/roscpp_core/roscpp_traits/include/ros/message_event.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ros/roscpp_core/roscpp_traits/include/ros/message_event.h b/ros/roscpp_core/roscpp_traits/include/ros/message_event.h index 9d79526..bbcafbf 100644 --- a/ros/roscpp_core/roscpp_traits/include/ros/message_event.h +++ b/ros/roscpp_core/roscpp_traits/include/ros/message_event.h @@ -200,7 +200,7 @@ class MessageEvent bool operator==(const MessageEvent& rhs) { - return message_ = rhs.message_ && receipt_time_ == rhs.receipt_time_ && nonconst_need_copy_ == rhs.nonconst_need_copy_; + return message_ == rhs.message_ && receipt_time_ == rhs.receipt_time_ && nonconst_need_copy_ == rhs.nonconst_need_copy_; } bool operator!=(const MessageEvent& rhs)