mail[Wesnoth-commits] r33514 - in /trunk/src: mouse_handler_base.cpp mouse_handler_base.hpp


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by alinktomine on March 10, 2009 - 09:18:
Author: alink
Date: Tue Mar 10 09:18:48 2009
New Revision: 33514

URL: http://svn.gna.org/viewcvs/wesnoth?rev=33514&view=rev
Log:
no need of reference for bool

Modified:
    trunk/src/mouse_handler_base.cpp
    trunk/src/mouse_handler_base.hpp

Modified: trunk/src/mouse_handler_base.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/mouse_handler_base.cpp?rev=33514&r1=33513&r2=33514&view=diff
==============================================================================
--- trunk/src/mouse_handler_base.cpp (original)
+++ trunk/src/mouse_handler_base.cpp Tue Mar 10 09:18:48 2009
@@ -74,7 +74,7 @@
        mouse_motion(x, y, browse, true);
 }
 
-bool mouse_handler_base::mouse_motion_default(int x, int y, bool& /*update*/)
+bool mouse_handler_base::mouse_motion_default(int x, int y, bool /*update*/)
 {
        if(simple_warp_) {
                return true;

Modified: trunk/src/mouse_handler_base.hpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/mouse_handler_base.hpp?rev=33514&r1=33513&r2=33514&view=diff
==============================================================================
--- trunk/src/mouse_handler_base.hpp (original)
+++ trunk/src/mouse_handler_base.hpp Tue Mar 10 09:18:48 2009
@@ -66,7 +66,7 @@
         * @returns true when the caller should not process the mouse motion
         * further (i.e. should return), false otherwise.
         */
-       bool mouse_motion_default(int x, int y, bool& update);
+       bool mouse_motion_default(int x, int y, bool update);
 
        /**
         * Called when a mouse motion event takes place. Derived classes 
mustprovide an




Related Messages


Powered by MHonArc, Updated Tue Mar 10 09:40:28 2009