diff options
author | Jonathan Beck | 2009-10-26 18:41:15 +0100 |
---|---|---|
committer | Jonathan Beck | 2009-10-26 18:41:15 +0100 |
commit | c1363bea107b15bdc10ce80671747be891661889 (patch) | |
tree | 1a8ce452eb6c1110ea0cd88dec155e99bfe7b69b /src/String.cpp | |
parent | bef50c0873aad5d8cd516428828e79fc05a43913 (diff) | |
download | libplist-c1363bea107b15bdc10ce80671747be891661889.tar.gz libplist-c1363bea107b15bdc10ce80671747be891661889.tar.bz2 |
Add Set/Get Parent and a helper to create a Node from a plist_t.
Diffstat (limited to 'src/String.cpp')
-rw-r--r-- | src/String.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/String.cpp b/src/String.cpp index dbc81ac..e6cceaa 100644 --- a/src/String.cpp +++ b/src/String.cpp @@ -24,11 +24,11 @@ namespace PList { -String::String() : Node(PLIST_STRING) +String::String(Node* parent) : Node(PLIST_STRING, parent) { } -String::String(plist_t node) : Node(node) +String::String(plist_t node, Node* parent) : Node(node, parent) { } |