summaryrefslogtreecommitdiffstats
path: root/src/Data.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Data.cpp')
-rw-r--r--src/Data.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Data.cpp b/src/Data.cpp
index 89b4f4e..4515388 100644
--- a/src/Data.cpp
+++ b/src/Data.cpp
@@ -38,7 +38,7 @@ Data::Data(const PList::Data& d) : Node(PLIST_DATA)
plist_set_data_val(_node, &b[0], b.size());
}
-Data& Data::operator=(PList::Data& b)
+Data& Data::operator=(const PList::Data& b)
{
plist_free(_node);
_node = plist_copy(b.GetPlist());