Unverified Commit f42e410a authored by Dominik Charousset's avatar Dominik Charousset Committed by GitHub

Merge pull request #1039

Add missing operator== for exit_msg
parents 5ba326fc 5a34f527
......@@ -42,6 +42,11 @@ struct exit_msg {
error reason;
};
/// @relates exit_msg
inline bool operator==(const exit_msg& x, const exit_msg& y) noexcept {
return x.source == y.source && x.reason == y.reason;
}
/// @relates exit_msg
template <class Inspector>
typename Inspector::result_type inspect(Inspector& f, exit_msg& x) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment