Commit aa450796 authored by Rosen Penev's avatar Rosen Penev Committed by Nikias Bassen

c++: Remove redundant initialization

[clang-tidy] Found with readability-redundant-member-init
Signed-off-by: 's avatarRosen Penev <rosenp@gmail.com>
parent 7c69e03b
...@@ -51,7 +51,7 @@ Array::Array(plist_t node, Node* parent) : Structure(parent) ...@@ -51,7 +51,7 @@ Array::Array(plist_t node, Node* parent) : Structure(parent)
array_fill(this, _array, _node); array_fill(this, _array, _node);
} }
Array::Array(const PList::Array& a) : Structure() Array::Array(const PList::Array& a)
{ {
_array.clear(); _array.clear();
_node = plist_copy(a.GetPlist()); _node = plist_copy(a.GetPlist());
......
...@@ -50,7 +50,7 @@ Dictionary::Dictionary(plist_t node, Node* parent) : Structure(parent) ...@@ -50,7 +50,7 @@ Dictionary::Dictionary(plist_t node, Node* parent) : Structure(parent)
dictionary_fill(this, _map, _node); dictionary_fill(this, _map, _node);
} }
Dictionary::Dictionary(const PList::Dictionary& d) : Structure() Dictionary::Dictionary(const PList::Dictionary& d)
{ {
for (Dictionary::iterator it = _map.begin(); it != _map.end(); it++) for (Dictionary::iterator it = _map.begin(); it != _map.end(); it++)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment