diff --git a/include/nigiri/common/interval.h b/include/nigiri/common/interval.h index 14414629..3dc455b9 100644 --- a/include/nigiri/common/interval.h +++ b/include/nigiri/common/interval.h @@ -47,8 +47,8 @@ struct interval { t_ -= x; return *this; } - iterator operator+(difference_type const x) const { return { t_ + x }; } - iterator operator-(difference_type const x) const { return { t_ - x }; } + iterator operator+(difference_type const x) const { return {t_ + x}; } + iterator operator-(difference_type const x) const { return {t_ - x}; } friend difference_type operator-(iterator const& a, iterator const& b) { return static_cast(cista::to_idx(a.t_) - cista::to_idx(b.t_));