mirror of
https://github.com/msgpack/msgpack-c.git
synced 2025-03-20 05:27:56 +01:00
Make fbuffer's constructor explicit.
This commit is contained in:
parent
2c1a1fd4f8
commit
c9f342f4b2
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user