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