Fix C++11 compilation

This commit is contained in:
Mariano Javier Suligoy 2015-03-08 10:39:27 -03:00
parent 63006f6f6f
commit 0bc7eb1d91

View file

@ -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):