Author: brunowolff
Date: Wed Mar 19 17:50:41 2008
New Revision: 24849
URL: http://svn.gna.org/viewcvs/wesnoth?rev=24849&view=rev
Log:
Silence gcc warnings for const return types.
Modified:
trunk/src/animated.i
Modified: trunk/src/animated.i
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/animated.i?rev=24849&r1=24848&r2=24849&view=diff
==============================================================================
--- trunk/src/animated.i (original)
+++ trunk/src/animated.i Wed Mar 19 17:50:41 2008
@@ -214,7 +214,7 @@
}
template<typename T, typename T_void_value>
-const int animated<T,T_void_value>::get_animation_duration() const
+int animated<T,T_void_value>::get_animation_duration() const
{
return get_end_time() - get_begin_time();
}
@@ -228,7 +228,7 @@
}
template<typename T, typename T_void_value>
-const int animated<T,T_void_value>::get_current_frame_begin_time() const
+int animated<T,T_void_value>::get_current_frame_begin_time() const
{
if(frames_.empty() )
return starting_frame_time_;
@@ -236,7 +236,7 @@
}
template<typename T, typename T_void_value>
-const int animated<T,T_void_value>::get_current_frame_end_time() const
+int animated<T,T_void_value>::get_current_frame_end_time() const
{
if(frames_.empty() )
return starting_frame_time_;
@@ -244,7 +244,7 @@
}
template<typename T, typename T_void_value>
-const int animated<T,T_void_value>::get_current_frame_duration() const
+int animated<T,T_void_value>::get_current_frame_duration() const
{
if(frames_.empty() )
return 0;
@@ -252,7 +252,7 @@
}
template<typename T, typename T_void_value>
-const int animated<T,T_void_value>::get_current_frame_time() const
+int animated<T,T_void_value>::get_current_frame_time() const
{
if(frames_.empty() )
return 0;
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits