From db6edcd473a684420e9a7611b24462df21165c1b Mon Sep 17 00:00:00 2001 From: HampusM Date: Sun, 24 Apr 2022 17:13:52 +0200 Subject: style: improve function and brace styling --- src/engine/matrix_iterator.tpp | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'src/engine/matrix_iterator.tpp') diff --git a/src/engine/matrix_iterator.tpp b/src/engine/matrix_iterator.tpp index 031136c..9697861 100644 --- a/src/engine/matrix_iterator.tpp +++ b/src/engine/matrix_iterator.tpp @@ -35,13 +35,15 @@ auto MatrixRowIterator::operator*() const noexcept -> Element & } template -auto MatrixRowIterator::operator==(const MatrixRowIterator &rhs) const noexcept -> bool +auto MatrixRowIterator::operator==(const MatrixRowIterator &rhs) const noexcept + -> bool { return _column_ptr == rhs._column_ptr; } template -auto MatrixRowIterator::operator!=(const MatrixRowIterator &rhs) const noexcept -> bool +auto MatrixRowIterator::operator!=(const MatrixRowIterator &rhs) const noexcept + -> bool { return _column_ptr != rhs._column_ptr; } @@ -69,8 +71,10 @@ auto MatrixRow::end() const noexcept -> MatrixRowIterator // Matrix iterator template -MatrixIterator::MatrixIterator(RowPtr row_ptr, - const uint32_t &column_cnt) noexcept +MatrixIterator::MatrixIterator( + RowPtr row_ptr, + const uint32_t &column_cnt +) noexcept : _row_ptr(row_ptr), _column_cnt(column_cnt) { } -- cgit v1.2.3-18-g5258