From 1b05c0a67ae25c427fe21f8a9aef409c0e318c65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franz=20P=C3=B6schel?= Date: Thu, 9 Nov 2023 16:30:21 +0100 Subject: [PATCH] Fixes after merging the dev --- test/CoreTest.cpp | 1 + test/SerialIOTest.cpp | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/test/CoreTest.cpp b/test/CoreTest.cpp index f6f93e065c..58505ec85f 100644 --- a/test/CoreTest.cpp +++ b/test/CoreTest.cpp @@ -49,6 +49,7 @@ TEST_CASE("attribute_dtype_test", "[core]") REQUIRE(Datatype::CHAR == a.dtype); { // check that copy constructor works + // NOLINTNEXTLINE(performance-unnecessary-copy-initialization) [[maybe_unused]] Attribute b = a; } { diff --git a/test/SerialIOTest.cpp b/test/SerialIOTest.cpp index 814d1fef05..ef019d9f3c 100644 --- a/test/SerialIOTest.cpp +++ b/test/SerialIOTest.cpp @@ -596,8 +596,8 @@ struct NonCopyableDeleter : std::function {} NonCopyableDeleter(NonCopyableDeleter const &) = delete; NonCopyableDeleter &operator=(NonCopyableDeleter const &) = delete; - NonCopyableDeleter(NonCopyableDeleter &&) = default; - NonCopyableDeleter &operator=(NonCopyableDeleter &&) = default; + NonCopyableDeleter(NonCopyableDeleter &&) noexcept = default; + NonCopyableDeleter &operator=(NonCopyableDeleter &&) noexcept = default; }; } // namespace detail