From 541ece13c0d43892aa5bca66b8a6ecd6c17b9db9 Mon Sep 17 00:00:00 2001 From: Takatoshi Kondo Date: Thu, 5 Sep 2013 13:09:08 +0900 Subject: [PATCH] Added inline for constructors and a destructor. --- src/msgpack/pack.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/msgpack/pack.hpp b/src/msgpack/pack.hpp index c18385fb..5b5b0460 100644 --- a/src/msgpack/pack.hpp +++ b/src/msgpack/pack.hpp @@ -161,13 +161,13 @@ inline char take8_64(T d) { #endif template -packer::packer(Stream* s) : m_stream(*s) { } +inline packer::packer(Stream* s) : m_stream(*s) { } template -packer::packer(Stream& s) : m_stream(s) { } +inline packer::packer(Stream& s) : m_stream(s) { } template -packer::~packer() { } +inline packer::~packer() { } template