summaryrefslogtreecommitdiff
path: root/src/selection.hh
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2015-12-27 23:28:34 +0000
committerMaxime Coste <frrrwww@gmail.com>2015-12-27 23:28:34 +0000
commit5217089902b81bcf318ea1d7f420524d86ed0464 (patch)
tree64e5f17b2607c98394fc7083ebbae7dc78924105 /src/selection.hh
parent11652ce2301632f9bef5af32e119ec15c8540865 (diff)
Fix uses of non-keyword logical operators (replace &&, || and ! with and, or and not)
Diffstat (limited to 'src/selection.hh')
-rw-r--r--src/selection.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/selection.hh b/src/selection.hh
index 26a7865c..c576bf41 100644
--- a/src/selection.hh
+++ b/src/selection.hh
@@ -119,7 +119,7 @@ struct SelectionList
size_t size() const { return m_selections.size(); }
bool operator==(const SelectionList& other) const { return m_buffer == other.m_buffer and m_selections == other.m_selections; }
- bool operator!=(const SelectionList& other) const { return !((*this) == other); }
+ bool operator!=(const SelectionList& other) const { return not ((*this) == other); }
void sort_and_merge_overlapping();