summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Rosen Penev2020-05-30 20:09:18 -0700
committerGravatar Nikias Bassen2020-06-03 19:59:53 +0200
commitaa450796af628119e4348f10b6d45c282ed68bbe (patch)
tree0c699fd4dbb55521c73e60a2590852338020386d /src
parent7c69e03ba2fb07ccac0b088331dae02216d37cba (diff)
downloadlibplist-aa450796af628119e4348f10b6d45c282ed68bbe.tar.gz
libplist-aa450796af628119e4348f10b6d45c282ed68bbe.tar.bz2
c++: Remove redundant initialization
[clang-tidy] Found with readability-redundant-member-init Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/Array.cpp2
-rw-r--r--src/Dictionary.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/Array.cpp b/src/Array.cpp
index 4f34e58..f6e1297 100644
--- a/src/Array.cpp
+++ b/src/Array.cpp
@@ -51,7 +51,7 @@ Array::Array(plist_t node, Node* parent) : Structure(parent)
array_fill(this, _array, _node);
}
-Array::Array(const PList::Array& a) : Structure()
+Array::Array(const PList::Array& a)
{
_array.clear();
_node = plist_copy(a.GetPlist());
diff --git a/src/Dictionary.cpp b/src/Dictionary.cpp
index 4fd73ef..cc4626b 100644
--- a/src/Dictionary.cpp
+++ b/src/Dictionary.cpp
@@ -50,7 +50,7 @@ Dictionary::Dictionary(plist_t node, Node* parent) : Structure(parent)
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++)
{