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)