summaryrefslogtreecommitdiffstats
path: root/src/Data.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Data.cpp')
-rw-r--r--src/Data.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Data.cpp b/src/Data.cpp
index a171c03..02ce983 100644
--- a/src/Data.cpp
+++ b/src/Data.cpp
@@ -42,6 +42,7 @@ Data& Data::operator=(PList::Data& b)
{
plist_free(_node);
_node = plist_copy(b.GetPlist());
+ return *this;
}
Data::Data(const std::vector<char>& buff) : Node(PLIST_DATA)