From 26cfd6af9b6d738485dc3e34d92417ef0092c269 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Wed, 24 Jun 2015 13:44:47 +0100 Subject: [PATCH] Style tweak --- src/buffer.inl.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/buffer.inl.hh b/src/buffer.inl.hh index 0b013dcd..cc3f83b9 100644 --- a/src/buffer.inl.hh +++ b/src/buffer.inl.hh @@ -73,12 +73,12 @@ inline bool Buffer::is_end(ByteCoord c) const inline BufferIterator Buffer::begin() const { - return BufferIterator(*this, { 0_line, 0 }); + return {*this, { 0_line, 0 }}; } inline BufferIterator Buffer::end() const { - return BufferIterator{*this, end_coord()}; + return {*this, end_coord()}; } [[gnu::always_inline]]