From c9f342f4b223f2271cff69c62665b084397c11ba Mon Sep 17 00:00:00 2001 From: Vladimir Volodko Date: Mon, 3 Mar 2014 10:21:03 +0700 Subject: [PATCH] Make fbuffer's constructor explicit. --- src/msgpack/fbuffer.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/msgpack/fbuffer.hpp b/src/msgpack/fbuffer.hpp index 9e398600..548ef0bf 100644 --- a/src/msgpack/fbuffer.hpp +++ b/src/msgpack/fbuffer.hpp @@ -26,7 +26,7 @@ namespace msgpack { class fbuffer { public: - fbuffer(FILE* file) : m_file(file) { } + explicit fbuffer(FILE* file) : m_file(file) { } public: void write(const char* buf, unsigned int len)