diff --git a/src/topic_monitor.h b/src/topic_monitor.h index 10511a557..baa11b309 100644 --- a/src/topic_monitor.h +++ b/src/topic_monitor.h @@ -107,7 +107,10 @@ class generation_list_t { return valid; } - bool operator==(const generation_list_t &rhs) const { return as_array() == rhs.as_array(); } + bool operator==(const generation_list_t &rhs) const { + return sighupint == rhs.sighupint && sigchld == rhs.sigchld && + internal_exit == rhs.internal_exit; + } bool operator!=(const generation_list_t &rhs) const { return !(*this == rhs); }