Fixes default declared ctor in Buffer
This commit is contained in:
parent
2efef91f1c
commit
0894590a96
@ -53,7 +53,7 @@ struct Array;
|
|||||||
// For encoding raw binary data in a JSON response
|
// For encoding raw binary data in a JSON response
|
||||||
struct Buffer
|
struct Buffer
|
||||||
{
|
{
|
||||||
Buffer() {}
|
Buffer() = default;
|
||||||
Buffer(const char *value) : value(value) {}
|
Buffer(const char *value) : value(value) {}
|
||||||
Buffer(std::string value) : value(std::move(value)) {}
|
Buffer(std::string value) : value(std::move(value)) {}
|
||||||
std::string value;
|
std::string value;
|
||||||
|
Loading…
Reference in New Issue
Block a user