summaryrefslogtreecommitdiff
path: root/src/input_handler.cc
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2022-11-20 16:59:08 +1100
committerMaxime Coste <mawww@kakoune.org>2022-11-20 16:59:08 +1100
commitb7b036c210aba03c5dc1851b9de5fe9b3351dcd8 (patch)
treedd86ca3e519c1c875868353afc872f0e03da2cdd /src/input_handler.cc
parent91d45a100a39345f06d9789ded9172fe60887c27 (diff)
Change BufferIterator comparison to assert same buffer
Comparing iterators between buffers should never happen, and the only place we did was with default constructed BufferIterator which we replace by casting the iterator to bool. This should improve performance on iterator heavy code.
Diffstat (limited to 'src/input_handler.cc')
0 files changed, 0 insertions, 0 deletions