diff options
Diffstat (limited to 'src/String.cpp')
-rw-r--r-- | src/String.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/String.cpp b/src/String.cpp index 39717c2..cd4f98f 100644 --- a/src/String.cpp +++ b/src/String.cpp @@ -37,7 +37,7 @@ String::String(const PList::String& s) : Node(PLIST_UINT) plist_set_string_val(_node, s.GetValue().c_str()); } -String& String::operator=(PList::String& s) +String& String::operator=(const PList::String& s) { plist_free(_node); _node = plist_copy(s.GetPlist()); |