1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-12-28 06:08:05 +03:00

Style tweak

This commit is contained in:
Maxime Coste 2015-06-24 13:44:47 +01:00
parent b97b907b2a
commit 26cfd6af9b

View File

@ -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]]