closed #4861, fixed temparory variable issue

This commit is contained in:
andyque 2014-05-07 11:55:00 +08:00
parent 657720e509
commit 8baa88e2e1
1 changed files with 1 additions and 1 deletions

View File

@ -1542,7 +1542,7 @@ bool Layout::getPassFocusToChild()
Size Layout::getLayoutContentSize()const
{
auto children = this->getChildren();
const auto& children = this->getChildren();
Size layoutSize = Size::ZERO;
int widgetCount =0;
for(const auto& widget : children)