mirror of
https://github.com/msgpack/msgpack-c.git
synced 2025-03-19 13:02:13 +01:00
Make fbuffer's constructor explicit.
This commit is contained in:
parent
2c1a1fd4f8
commit
c9f342f4b2
@ -26,7 +26,7 @@ namespace msgpack {
|
|||||||
|
|
||||||
class fbuffer {
|
class fbuffer {
|
||||||
public:
|
public:
|
||||||
fbuffer(FILE* file) : m_file(file) { }
|
explicit fbuffer(FILE* file) : m_file(file) { }
|
||||||
|
|
||||||
public:
|
public:
|
||||||
void write(const char* buf, unsigned int len)
|
void write(const char* buf, unsigned int len)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user