diff --git a/include/msgpack/object.hpp b/include/msgpack/object.hpp index 03dd8689..f964a50b 100644 --- a/include/msgpack/object.hpp +++ b/include/msgpack/object.hpp @@ -368,7 +368,7 @@ inline bool operator!=(const msgpack::object& x, const msgpack::object& y) { return !(x == y); } template -inline bool operator==(const T& y, const msgpack::object x) +inline bool operator==(const T& y, const msgpack::object& x) { return x == y; } template