no need of reference for bool

This commit is contained in:
Ali El Gariani 2009-03-10 08:18:48 +00:00
parent 9c027a1933
commit 409d570faa
2 changed files with 2 additions and 2 deletions

View file

@ -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;

View file

@ -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