From 22703d2cdb81b6cd4dff2a0ea19d7385ce133bcc Mon Sep 17 00:00:00 2001 From: Takatoshi Kondo Date: Sun, 30 Mar 2014 18:42:15 +0000 Subject: [PATCH] Fixed https://github.com/msgpack/msgpack-c/issues/77 --- src/msgpack/type/define.hpp.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); \ } \