Author: mordante
Date: Sat Oct 15 20:06:43 2011
New Revision: 51500
URL: http://svn.gna.org/viewcvs/wesnoth?rev=51500&view=rev
Log:
Remove an old-style-cast.
Modified:
trunk/src/tests/gui/test_gui2.cpp
Modified: trunk/src/tests/gui/test_gui2.cpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/tests/gui/test_gui2.cpp?rev=51500&r1=51499&r2=51500&view=diff
==============================================================================
--- trunk/src/tests/gui/test_gui2.cpp (original)
+++ trunk/src/tests/gui/test_gui2.cpp Sat Oct 15 20:06:43 2011
@@ -190,7 +190,7 @@
try {
dlg->show(video(), interact);
gui2::twindow* window =
gui2::unit_test_window((*dlg.get()));
- BOOST_REQUIRE_NE(window, (void*)NULL);
+ BOOST_REQUIRE_NE(window,
static_cast<void*>(NULL));
window->draw();
}
catch(gui2::tlayout_exception_width_modified&) {
exception =
"gui2::tlayout_exception_width_modified";
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits