summaryrefslogtreecommitdiff
path: root/src/buffer.hh
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2023-01-21 11:19:39 +1100
committerMaxime Coste <mawww@kakoune.org>2023-01-21 11:19:39 +1100
commit702358b5597ff3d24da9795d59e3e699fae23693 (patch)
tree80dbd48f48919b2d8d727a5f3b5f565ba03f706c /src/buffer.hh
parentc0be7234444f068014c7283a3e4bfdce3fdcac55 (diff)
Replace std::strong_ordering with auto return type to not require <compare>
Diffstat (limited to 'src/buffer.hh')
-rw-r--r--src/buffer.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buffer.hh b/src/buffer.hh
index 71c5cd51..7b671c0e 100644
--- a/src/buffer.hh
+++ b/src/buffer.hh
@@ -68,7 +68,7 @@ public:
BufferIterator(const Buffer& buffer, BufferCoord coord) noexcept;
bool operator== (const BufferIterator& iterator) const noexcept;
- std::strong_ordering operator<=>(const BufferIterator& iterator) const noexcept;
+ auto operator<=>(const BufferIterator& iterator) const noexcept;
bool operator== (const BufferCoord& coord) const noexcept;
const char& operator* () const noexcept;