Fix shadowing warning
This commit is contained in:
parent
9b4fcdc2b3
commit
d1b7187085
|
@ -10,7 +10,7 @@ set(META_APP_URL "https://github.com/${META_APP_AUTHOR}/${META_PROJECT_NAME}")
|
||||||
set(META_APP_DESCRIPTION "C++ library to read/write passwords from/to encrypted files")
|
set(META_APP_DESCRIPTION "C++ library to read/write passwords from/to encrypted files")
|
||||||
set(META_VERSION_MAJOR 5)
|
set(META_VERSION_MAJOR 5)
|
||||||
set(META_VERSION_MINOR 0)
|
set(META_VERSION_MINOR 0)
|
||||||
set(META_VERSION_PATCH 6)
|
set(META_VERSION_PATCH 7)
|
||||||
set(META_ADD_DEFAULT_CPP_UNIT_TEST_APPLICATION ON)
|
set(META_ADD_DEFAULT_CPP_UNIT_TEST_APPLICATION ON)
|
||||||
|
|
||||||
# add project files
|
# add project files
|
||||||
|
|
|
@ -302,7 +302,7 @@ void NodeEntry::deleteChildren(int begin, int end)
|
||||||
|
|
||||||
// adjust indices of subsequent children
|
// adjust indices of subsequent children
|
||||||
const int diff = end - begin;
|
const int diff = end - begin;
|
||||||
for (auto iterator = m_children.begin() + begin, end = m_children.end(); iterator != end; ++iterator) {
|
for (auto iterator = m_children.begin() + begin, end2 = m_children.end(); iterator != end2; ++iterator) {
|
||||||
(*iterator)->m_index -= diff;
|
(*iterator)->m_index -= diff;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue