Author: mordante
Date: Sat Mar 31 20:33:36 2012
New Revision: 53729

URL: http://svn.gna.org/viewcvs/wesnoth?rev=53729&view=rev
Log:
Remove an old-style-cast.

Modified:
    trunk/src/game_display.hpp

Modified: trunk/src/game_display.hpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/game_display.hpp?rev=53729&r1=53728&r2=53729&view=diff
==============================================================================
--- trunk/src/game_display.hpp (original)
+++ trunk/src/game_display.hpp Sat Mar 31 20:33:36 2012
@@ -46,8 +46,10 @@
        static game_display* create_dummy_display(CVideo& video);
 
        ~game_display();
-       static game_display* get_singleton() { return (game_display*)singleton_ 
;}
-
+       static game_display* get_singleton()
+       {
+               return static_cast<game_display*>(singleton_);
+       }
 
        /**
         * Update lighting settings.


_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits

Reply via email to