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