summaryrefslogtreecommitdiffstats
path: root/src/Array.cpp
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/Array.cpp
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/Array.cpp')
-rw-r--r--src/Array.cpp2
1 files changed, 1 insertions, 1 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());