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