summaryrefslogtreecommitdiffstats
path: root/src/Key.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Key.cpp')
-rw-r--r--src/Key.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Key.cpp b/src/Key.cpp
index 8c96e59..8ba497a 100644
--- a/src/Key.cpp
+++ b/src/Key.cpp
@@ -37,7 +37,7 @@ Key::Key(const PList::Key& k) : Node(PLIST_UINT)
plist_set_key_val(_node, k.GetValue().c_str());
}
-Key& Key::operator=(PList::Key& k)
+Key& Key::operator=(const PList::Key& k)
{
plist_free(_node);
_node = plist_copy(k.GetPlist());