summaryrefslogtreecommitdiffstats
path: root/src/String.cpp
diff options
context:
space:
mode:
authorGravatar Jonathan Beck2009-10-28 17:57:52 +0100
committerGravatar Jonathan Beck2009-10-28 17:57:52 +0100
commit1bc333972bb5d5b45ba8908f1b12015300d88711 (patch)
treed061424c0ba0390259ae092df68c9c7462e16315 /src/String.cpp
parenta129688a888968286a30eeba7833629225c59fa0 (diff)
downloadlibplist-1bc333972bb5d5b45ba8908f1b12015300d88711.tar.gz
libplist-1bc333972bb5d5b45ba8908f1b12015300d88711.tar.bz2
Fix build for MSVC9.
Diffstat (limited to 'src/String.cpp')
-rw-r--r--src/String.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/String.cpp b/src/String.cpp
index e6cceaa..3ae158e 100644
--- a/src/String.cpp
+++ b/src/String.cpp
@@ -41,6 +41,7 @@ String& String::operator=(PList::String& s)
{
plist_free(_node);
_node = plist_copy(s.GetPlist());
+ return *this;
}
String::String(const std::string& s) : Node(PLIST_STRING)