diff options
Diffstat (limited to 'src/Dictionary.cpp')
| -rw-r--r-- | src/Dictionary.cpp | 6 |
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); |
