From 409d570faab52ce8d961df2f8612ae79e4d4a176 Mon Sep 17 00:00:00 2001 From: Ali El Gariani Date: Tue, 10 Mar 2009 08:18:48 +0000 Subject: [PATCH] no need of reference for bool --- src/mouse_handler_base.cpp | 2 +- src/mouse_handler_base.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mouse_handler_base.cpp b/src/mouse_handler_base.cpp index b973e0e3094..7d427d5bf1f 100644 --- a/src/mouse_handler_base.cpp +++ b/src/mouse_handler_base.cpp @@ -74,7 +74,7 @@ void mouse_handler_base::mouse_update(const bool browse) 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; diff --git a/src/mouse_handler_base.hpp b/src/mouse_handler_base.hpp index 91d4c611571..6d46afacf3d 100644 --- a/src/mouse_handler_base.hpp +++ b/src/mouse_handler_base.hpp @@ -66,7 +66,7 @@ public: * @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