Merge pull request #411 from redboltz/change_default_macro

Fixed existing code compile error problem.
This commit is contained in:
Takatoshi Kondo 2016-01-21 19:34:43 +09:00
commit 13afc54ccc

View File

@ -23,11 +23,11 @@ namespace type {
struct nil_t { }; struct nil_t { };
#if defined(MSGPACK_USE_LEGACY_NIL) #if !defined(MSGPACK_DISABLE_LEGACY_NIL)
typedef nil_t nil; typedef nil_t nil;
#endif // defined(MSGPACK_USE_LEGACY_NIL) #endif // !defined(MSGPACK_DISABLE_LEGACY_NIL)
inline bool operator<(nil_t const& lhs, nil_t const& rhs) { inline bool operator<(nil_t const& lhs, nil_t const& rhs) {
return &lhs < &rhs; return &lhs < &rhs;