Use default initializer on json_patch
This commit is contained in:
parent
6709194813
commit
2a76a0ca6a
@ -3,9 +3,6 @@
|
||||
namespace nlohmann
|
||||
{
|
||||
|
||||
json_patch::json_patch()
|
||||
: j_{R"([])"_json} {}
|
||||
|
||||
json_patch::json_patch(json &&patch)
|
||||
: j_{std::move(patch)}
|
||||
{
|
||||
|
||||
@ -20,7 +20,7 @@ private:
|
||||
class json_patch
|
||||
{
|
||||
public:
|
||||
json_patch();
|
||||
json_patch() = default;
|
||||
json_patch(json &&patch);
|
||||
json_patch(const json &patch);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user