Cppcheck warnings.
--HG-- branch : develop
This commit is contained in:
parent
0e3a9533af
commit
5b63502b21
|
@ -115,7 +115,7 @@ VPE::VProperty* VPE::QVector3DProperty::clone(bool include_children, VProperty*
|
|||
|
||||
if (!include_children)
|
||||
{
|
||||
const QList<VProperty*> tmpChildren = container->getChildren();
|
||||
const QList<VProperty*> &tmpChildren = container->getChildren();
|
||||
for (auto tmpChild : tmpChildren)
|
||||
{
|
||||
container->removeChild(tmpChild);
|
||||
|
|
|
@ -114,7 +114,7 @@ VPE::VProperty *VPE::VPointFProperty::clone(bool include_children, VProperty *co
|
|||
|
||||
if (!include_children)
|
||||
{
|
||||
const QList<VProperty*> tmpChildren = container->getChildren();
|
||||
const QList<VProperty*> &tmpChildren = container->getChildren();
|
||||
for(auto tmpChild : tmpChildren)
|
||||
{
|
||||
container->removeChild(tmpChild);
|
||||
|
|
Loading…
Reference in New Issue
Block a user