Fix C++11 compilation
This commit is contained in:
parent
63006f6f6f
commit
0bc7eb1d91
1 changed files with 2 additions and 2 deletions
|
@ -61,9 +61,9 @@ bool CheckBox::is_radio()
|
|||
parent = parent->get_parent();
|
||||
if (dynamic_cast< ButtonGroup* >(parent))
|
||||
break;
|
||||
} while (parent != nullptr);
|
||||
} while (parent);
|
||||
|
||||
return (parent != nullptr);
|
||||
return (parent != 0);
|
||||
}
|
||||
|
||||
CheckBox::CheckBox(const String &p_text):
|
||||
|
|
Loading…
Reference in a new issue