summaryrefslogtreecommitdiffstats
path: root/src/Dictionary.cpp
diff options
context:
space:
mode:
authorGravatar Jonathan Beck2009-11-11 21:40:26 +0100
committerGravatar Jonathan Beck2009-11-11 21:40:26 +0100
commite91836fb3169cbca7c58c2680b591ec7f081b6b3 (patch)
tree88f81ef95e830fac10a7906dcd278f1d9a23a687 /src/Dictionary.cpp
parent8c6a809fafa6befff7e2b1adc3df2bdb47042dd1 (diff)
downloadlibplist-e91836fb3169cbca7c58c2680b591ec7f081b6b3.tar.gz
libplist-e91836fb3169cbca7c58c2680b591ec7f081b6b3.tar.bz2
Fix removal of the Utils class.
Diffstat (limited to 'src/Dictionary.cpp')
-rw-r--r--src/Dictionary.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Dictionary.cpp b/src/Dictionary.cpp
index 2a86d59..1829e9a 100644
--- a/src/Dictionary.cpp
+++ b/src/Dictionary.cpp
@@ -40,7 +40,7 @@ Dictionary::Dictionary(plist_t node, Node* parent) : Structure(parent)
40 plist_dict_next_item(_node, it, &key, &subnode); 40 plist_dict_next_item(_node, it, &key, &subnode);
41 while (subnode) 41 while (subnode)
42 { 42 {
43 _map[std::string(key)] = Utils::FromPlist(subnode, this); 43 _map[std::string(key)] = Node::FromPlist(subnode, this);
44 44
45 subnode = NULL; 45 subnode = NULL;
46 free(key); 46 free(key);
@@ -68,7 +68,7 @@ Dictionary::Dictionary(PList::Dictionary& d) : Structure()
68 plist_dict_next_item(_node, it, &key, &subnode); 68 plist_dict_next_item(_node, it, &key, &subnode);
69 while (subnode) 69 while (subnode)
70 { 70 {
71 _map[std::string(key)] = Utils::FromPlist(subnode, this); 71 _map[std::string(key)] = Node::FromPlist(subnode, this);
72 72
73 subnode = NULL; 73 subnode = NULL;
74 free(key); 74 free(key);
@@ -96,7 +96,7 @@ Dictionary& Dictionary::operator=(PList::Dictionary& d)
96 plist_dict_next_item(_node, it, &key, &subnode); 96 plist_dict_next_item(_node, it, &key, &subnode);
97 while (subnode) 97 while (subnode)
98 { 98 {
99 _map[std::string(key)] = Utils::FromPlist(subnode, this); 99 _map[std::string(key)] = Node::FromPlist(subnode, this);
100 100
101 subnode = NULL; 101 subnode = NULL;
102 free(key); 102 free(key);