From 42df06dd3d17883efb290e9f6f8f327eddf8ec42 Mon Sep 17 00:00:00 2001 From: Takatoshi Kondo Date: Mon, 6 Jul 2015 08:50:16 +0900 Subject: [PATCH] Fixed #307. Added 'inline' keyword to ext's constructor that defined at outside of the class definition. --- include/msgpack/adaptor/ext.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/msgpack/adaptor/ext.hpp b/include/msgpack/adaptor/ext.hpp index 84d67a6b..0fe836b4 100644 --- a/include/msgpack/adaptor/ext.hpp +++ b/include/msgpack/adaptor/ext.hpp @@ -183,7 +183,7 @@ private: friend struct msgpack::adaptor::object; }; -ext::ext(ext_ref const& x) { +inline ext::ext(ext_ref const& x) { // size limit has aleady been checked at ext_ref's constructor m_data.reserve(x.size() + 1);