mirror of
https://github.com/msgpack/msgpack-c.git
synced 2025-06-01 00:22:11 +02:00
Fixed #307.
Added 'inline' keyword to ext's constructor that defined at outside of the class definition.
This commit is contained in:
parent
ab438ac9b9
commit
42df06dd3d
@ -183,7 +183,7 @@ private:
|
|||||||
friend struct msgpack::adaptor::object<msgpack::type::ext_ref>;
|
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
|
// size limit has aleady been checked at ext_ref's constructor
|
||||||
m_data.reserve(x.size() + 1);
|
m_data.reserve(x.size() + 1);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user