1
0
mirror of https://github.com/godotengine/godot.git synced 2026-01-05 19:31:35 +00:00

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