From b940facf613bbb53a96801eb9f01728a2c82a6fb Mon Sep 17 00:00:00 2001 From: Bruno Wolff III Date: Wed, 19 Mar 2008 16:50:41 +0000 Subject: [PATCH] Silence gcc warnings for const return types. --- src/animated.i | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/animated.i b/src/animated.i index cdb673aaae2..98ddff1389f 100644 --- a/src/animated.i +++ b/src/animated.i @@ -214,7 +214,7 @@ int animated::get_animation_time() const } template -const int animated::get_animation_duration() const +int animated::get_animation_duration() const { return get_end_time() - get_begin_time(); } @@ -228,7 +228,7 @@ const T& animated::get_current_frame() const } template -const int animated::get_current_frame_begin_time() const +int animated::get_current_frame_begin_time() const { if(frames_.empty() ) return starting_frame_time_; @@ -236,7 +236,7 @@ const int animated::get_current_frame_begin_time() const } template -const int animated::get_current_frame_end_time() const +int animated::get_current_frame_end_time() const { if(frames_.empty() ) return starting_frame_time_; @@ -244,7 +244,7 @@ const int animated::get_current_frame_end_time() const } template -const int animated::get_current_frame_duration() const +int animated::get_current_frame_duration() const { if(frames_.empty() ) return 0; @@ -252,7 +252,7 @@ const int animated::get_current_frame_duration() const } template -const int animated::get_current_frame_time() const +int animated::get_current_frame_time() const { if(frames_.empty() ) return 0;