From 79ebc32d8cfa477c78ee14845284dd7662935c78 Mon Sep 17 00:00:00 2001 From: Carles Fernandez Date: Sun, 26 Mar 2023 17:06:35 +0200 Subject: [PATCH] Remove noexpect from the copy assignment operator --- .../libs/acquisition_dump_reader.cc | 2 +- .../libs/acquisition_dump_reader.h | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/tests/unit-tests/signal-processing-blocks/libs/acquisition_dump_reader.cc b/src/tests/unit-tests/signal-processing-blocks/libs/acquisition_dump_reader.cc index fb87911d6..07b5ff7a4 100644 --- a/src/tests/unit-tests/signal-processing-blocks/libs/acquisition_dump_reader.cc +++ b/src/tests/unit-tests/signal-processing-blocks/libs/acquisition_dump_reader.cc @@ -223,7 +223,7 @@ Acquisition_Dump_Reader::Acquisition_Dump_Reader(const std::string& basename, // Copy assignment operator -Acquisition_Dump_Reader& Acquisition_Dump_Reader::operator=(const Acquisition_Dump_Reader& other) noexcept +Acquisition_Dump_Reader& Acquisition_Dump_Reader::operator=(const Acquisition_Dump_Reader& other) { if (this != &other) { diff --git a/src/tests/unit-tests/signal-processing-blocks/libs/acquisition_dump_reader.h b/src/tests/unit-tests/signal-processing-blocks/libs/acquisition_dump_reader.h index 24d63f196..691e104f1 100644 --- a/src/tests/unit-tests/signal-processing-blocks/libs/acquisition_dump_reader.h +++ b/src/tests/unit-tests/signal-processing-blocks/libs/acquisition_dump_reader.h @@ -37,10 +37,10 @@ public: int channel = 0, int execution = 1); - Acquisition_Dump_Reader(const Acquisition_Dump_Reader& other) = default; //!< Copy constructor - Acquisition_Dump_Reader& operator=(const Acquisition_Dump_Reader& other) noexcept; //!< Copy assignment operator - Acquisition_Dump_Reader(Acquisition_Dump_Reader&& other) noexcept; //!< Move constructor - Acquisition_Dump_Reader& operator=(Acquisition_Dump_Reader&& other) noexcept; //!< Move assignment operator + Acquisition_Dump_Reader(const Acquisition_Dump_Reader& other) = default; //!< Copy constructor + Acquisition_Dump_Reader& operator=(const Acquisition_Dump_Reader& other); //!< Copy assignment operator + Acquisition_Dump_Reader(Acquisition_Dump_Reader&& other) noexcept; //!< Move constructor + Acquisition_Dump_Reader& operator=(Acquisition_Dump_Reader&& other) noexcept; //!< Move assignment operator bool read_binary_acq();