summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2023-10-25 12:51:59 +1100
committerMaxime Coste <mawww@kakoune.org>2023-10-25 12:51:59 +1100
commitb33b673f106ca938681356dca159634eec01d570 (patch)
tree1f214189777a73db7154ed23d6b3353f17e3a33c /src
parentb020922e6f241b3cc7dbce210f40bd4198af00ef (diff)
Remove unnecessary operator (since C++20)
Diffstat (limited to 'src')
-rw-r--r--src/array_view.hh6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/array_view.hh b/src/array_view.hh
index 982b436f..2d971089 100644
--- a/src/array_view.hh
+++ b/src/array_view.hh
@@ -84,12 +84,6 @@ bool operator==(ArrayView<T> lhs, ArrayView<T> rhs)
return true;
}
-template<typename T>
-bool operator!=(ArrayView<T> lhs, ArrayView<T> rhs)
-{
- return not (lhs == rhs);
-}
-
}
#endif // array_view_hh_INCLUDED