Skip to content

Commit d9bbbe0

Browse files
committed
undoes clang-tidy noexcept fixes
they're actually just inferred noexcept, which is better
1 parent ecb0000 commit d9bbbe0

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

accumulate.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ class iter::impl::Accumulator {
4848
accumulate_func(in_accumulate_func) {}
4949

5050
public:
51-
Accumulator(Accumulator&&) noexcept = default;
51+
Accumulator(Accumulator&&) = default;
5252

5353
class Iterator : public std::iterator<std::input_iterator_tag, AccumVal> {
5454
private:

chain.hpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ class iter::impl::Chained {
4646
rest_chained{std::forward<RestContainers>(rest)...} {}
4747

4848
public:
49-
Chained(Chained&&) noexcept = default;
49+
Chained(Chained&&) = default;
5050
class Iterator : public std::iterator<std::input_iterator_tag,
5151
iterator_traits_deref<Container>> {
5252
private:
@@ -123,7 +123,7 @@ class iter::impl::Chained<Container> {
123123
: container(std::forward<Container>(in_container)) {}
124124

125125
public:
126-
Chained(Chained&&) noexcept = default;
126+
Chained(Chained&&) = default;
127127
class Iterator : public std::iterator<std::input_iterator_tag,
128128
iterator_traits_deref<Container>> {
129129
private:
@@ -181,7 +181,7 @@ class iter::impl::ChainedFromIterable {
181181
: container(std::forward<Container>(in_container)) {}
182182

183183
public:
184-
ChainedFromIterable(ChainedFromIterable&&) noexcept = default;
184+
ChainedFromIterable(ChainedFromIterable&&) = default;
185185
class Iterator : public std::iterator<std::input_iterator_tag,
186186
iterator_traits_deref<iterator_deref<Container>>> {
187187
private:
@@ -241,8 +241,8 @@ class iter::impl::ChainedFromIterable {
241241
return *this;
242242
}
243243

244-
Iterator(Iterator&&) noexcept = default;
245-
Iterator& operator=(Iterator&&) noexcept = default;
244+
Iterator(Iterator&&) = default;
245+
Iterator& operator=(Iterator&&) = default;
246246
~Iterator() = default;
247247

248248
Iterator& operator++() {

0 commit comments

Comments
 (0)