diff --git a/include/json/value.h b/include/json/value.h index 197a85614..592b99a83 100644 --- a/include/json/value.h +++ b/include/json/value.h @@ -171,7 +171,7 @@ class JSON_API Value { CZString(const char* cstr, DuplicationPolicy allocate); CZString(const CZString& other); ~CZString(); - CZString& operator=(CZString other); + CZString& operator=(CZString& other); bool operator<(const CZString& other) const; bool operator==(const CZString& other) const; ArrayIndex index() const;