[Patch] Fix GCC 5 suggest parentheses warning.
GCC 5 (5.1.0-RC-20150412) reports.
/home/haiku/haiku/haiku/src/apps/workspaces/Workspaces.cpp: In member function 'virtual void WorkspacesWindow::FrameResized(float, float)':
/home/haiku/haiku/haiku/src/apps/workspaces/Workspaces.cpp:699:17: error: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Werror=parentheses]
if (!modifiers() & B_SHIFT_KEY) {
^
Change History
(4)
Owner: |
changed from axeld to waddlesplash
|
Status: |
new → in-progress
|
Resolution: |
→ fixed
|
Status: |
in-progress → closed
|
Applied in hrev49222. Thanks!