Fixes default declared ctor in Buffer

This commit is contained in:
Daniel J. Hofmann 2016-02-26 13:58:58 +01:00 committed by Patrick Niklaus
parent 2efef91f1c
commit 0894590a96

View File

@ -53,7 +53,7 @@ struct Array;
// For encoding raw binary data in a JSON response
struct Buffer
{
Buffer() {}
Buffer() = default;
Buffer(const char *value) : value(value) {}
Buffer(std::string value) : value(std::move(value)) {}
std::string value;