diff --git a/src/msgpack/type/define.hpp.erb b/src/msgpack/type/define.hpp.erb index 9e9a49d5..cc06be9c 100644 --- a/src/msgpack/type/define.hpp.erb +++ b/src/msgpack/type/define.hpp.erb @@ -46,7 +46,7 @@ return v; \ } \ template <> \ - void operator<< (object::with_zone& o, const enum& v) \ + inline void operator<< (object::with_zone& o, const enum& v) \ { \ o << static_cast(v); \ } \