Skip to content

Commit d4b53fc

Browse files
committed
CZString assignment operator - pass by reference
Passing by reference.
1 parent abc1e07 commit d4b53fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/json/value.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ class JSON_API Value {
171171
CZString(const char* cstr, DuplicationPolicy allocate);
172172
CZString(const CZString& other);
173173
~CZString();
174-
CZString& operator=(CZString other);
174+
CZString& operator=(CZString& other);
175175
bool operator<(const CZString& other) const;
176176
bool operator==(const CZString& other) const;
177177
ArrayIndex index() const;

0 commit comments

Comments
 (0)