Skip to content

Commit 5722ab6

Browse files
committed
Merge pull request #285 from redboltz/add_const_ref
Replaced const msgpack::object with const msgpack::object&.
2 parents 072f0cd + e979f04 commit 5722ab6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/msgpack/object.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ inline bool operator!=(const msgpack::object& x, const msgpack::object& y)
368368
{ return !(x == y); }
369369

370370
template <typename T>
371-
inline bool operator==(const T& y, const msgpack::object x)
371+
inline bool operator==(const T& y, const msgpack::object& x)
372372
{ return x == y; }
373373

374374
template <typename T>

0 commit comments

Comments
 (0)