Added 'inline' keyword to ext's constructor that defined at outside of the class definition.
This commit is contained in:
Takatoshi Kondo 2015-07-06 08:50:16 +09:00
parent ab438ac9b9
commit 42df06dd3d

View File

@ -183,7 +183,7 @@ private:
friend struct msgpack::adaptor::object<msgpack::type::ext_ref>;
};
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);