no need of reference for bool
This commit is contained in:
parent
9c027a1933
commit
409d570faa
2 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue