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