From 797d580fb02c617ab379d97914825179e293aab6 Mon Sep 17 00:00:00 2001 From: Sergei Izmailov Date: Thu, 7 Sep 2023 12:40:57 +0900 Subject: [PATCH] fix: Missing `noexcept` --- tests/test_sequences_and_iterators.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_sequences_and_iterators.cpp b/tests/test_sequences_and_iterators.cpp index 82afb8e939..4a1d37f4de 100644 --- a/tests/test_sequences_and_iterators.cpp +++ b/tests/test_sequences_and_iterators.cpp @@ -31,9 +31,9 @@ class NonZeroIterator { // Make the iterator non-copyable and movable NonZeroIterator(const NonZeroIterator &) = delete; - NonZeroIterator(NonZeroIterator &&) = default; + NonZeroIterator(NonZeroIterator &&) noexcept = default; NonZeroIterator &operator=(const NonZeroIterator &) = delete; - NonZeroIterator &operator=(NonZeroIterator &&) = default; + NonZeroIterator &operator=(NonZeroIterator &&) noexcept = default; const T &operator*() const { return *ptr_; } NonZeroIterator &operator++() {