mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-30 00:48:13 +00:00
Remove an old-style-cast.
This commit is contained in:
parent
d5c260c608
commit
72a41e4a58
@ -110,7 +110,7 @@ static void add_widget(gui2::tgrid& grid
|
||||
, const unsigned row
|
||||
, const unsigned column)
|
||||
{
|
||||
BOOST_REQUIRE_NE(widget, (gui2::twidget*)NULL);
|
||||
BOOST_REQUIRE_NE(widget, static_cast<gui2::twidget*>(NULL));
|
||||
|
||||
widget->set_id(id);
|
||||
grid.set_child(widget
|
||||
|
Loading…
x
Reference in New Issue
Block a user