diff options
| -rw-r--r-- | src/Array.cpp | 2 | ||||
| -rw-r--r-- | src/Dictionary.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/Array.cpp b/src/Array.cpp index d739c64..7051ed9 100644 --- a/src/Array.cpp +++ b/src/Array.cpp | |||
| @@ -53,7 +53,7 @@ Array::Array(plist_t node, Node* parent) : Structure(parent) | |||
| 53 | array_fill(this, _array, _node); | 53 | array_fill(this, _array, _node); |
| 54 | } | 54 | } |
| 55 | 55 | ||
| 56 | Array::Array(const PList::Array& a) | 56 | Array::Array(const PList::Array& a) : Structure(a.GetParent()) |
| 57 | { | 57 | { |
| 58 | _array.clear(); | 58 | _array.clear(); |
| 59 | _node = plist_copy(a.GetPlist()); | 59 | _node = plist_copy(a.GetPlist()); |
diff --git a/src/Dictionary.cpp b/src/Dictionary.cpp index f5fd239..0a909e5 100644 --- a/src/Dictionary.cpp +++ b/src/Dictionary.cpp | |||
| @@ -51,7 +51,7 @@ Dictionary::Dictionary(plist_t node, Node* parent) : Structure(parent) | |||
| 51 | dictionary_fill(this, _map, _node); | 51 | dictionary_fill(this, _map, _node); |
| 52 | } | 52 | } |
| 53 | 53 | ||
| 54 | Dictionary::Dictionary(const PList::Dictionary& d) | 54 | Dictionary::Dictionary(const PList::Dictionary& d) : Structure(d.GetParent()) |
| 55 | { | 55 | { |
| 56 | for (Dictionary::iterator it = _map.begin(); it != _map.end(); it++) | 56 | for (Dictionary::iterator it = _map.begin(); it != _map.end(); it++) |
| 57 | { | 57 | { |
