Skip to content

Commit c9f342f

Browse files
author
Vladimir Volodko
committed
Make fbuffer's constructor explicit.
1 parent 2c1a1fd commit c9f342f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/msgpack/fbuffer.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ namespace msgpack {
2626

2727
class fbuffer {
2828
public:
29-
fbuffer(FILE* file) : m_file(file) { }
29+
explicit fbuffer(FILE* file) : m_file(file) { }
3030

3131
public:
3232
void write(const char* buf, unsigned int len)

0 commit comments

Comments
 (0)