File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ class iter::impl::Accumulator {
4848 accumulate_func (in_accumulate_func) {}
4949
5050 public:
51- Accumulator (Accumulator&&) = default;
51+ Accumulator (Accumulator&&) noexcept = default;
5252
5353 class Iterator : public std ::iterator<std::input_iterator_tag, AccumVal> {
5454 private:
@@ -73,7 +73,7 @@ class iter::impl::Accumulator {
7373 acc_val{other.acc_val ? new AccumVal (*other.acc_val ) : nullptr } {}
7474
7575 Iterator& operator =(const Iterator& other) {
76- if (this == &other) return *this ;
76+ if (this == &other) { return *this ; }
7777 this ->sub_iter = other.sub_iter ;
7878 this ->sub_end = other.sub_end ;
7979 this ->accumulate_func = other.accumulate_func ;
@@ -82,8 +82,8 @@ class iter::impl::Accumulator {
8282 return *this ;
8383 }
8484
85- Iterator (Iterator&&) = default ;
86- Iterator& operator =(Iterator&&) = default ;
85+ Iterator (Iterator&&) noexcept = default ;
86+ Iterator& operator =(Iterator&&) noexcept = default ;
8787
8888 const AccumVal& operator *() const {
8989 return *this ->acc_val ;
You can’t perform that action at this time.
0 commit comments