diff --git a/src/core/model/matrix-array.h b/src/core/model/matrix-array.h index fac127c77..7bfab6b2c 100644 --- a/src/core/model/matrix-array.h +++ b/src/core/model/matrix-array.h @@ -162,13 +162,13 @@ class MatrixArray : public ValArray */ MatrixArray& operator=(const MatrixArray&) = default; /** instruct the compiler to generate the implicitly declared move constructor*/ - MatrixArray(MatrixArray&&) noexcept = default; + MatrixArray(MatrixArray&&) = default; /** * \brief Move assignment operator. * Instruct the compiler to generate the implicitly declared move assignment operator. * \return a reference to the result of the assignment */ - MatrixArray& operator=(MatrixArray&&) noexcept = default; + MatrixArray& operator=(MatrixArray&&) = default; /** * \brief Element-wise multiplication with a scalar value. * \param rhs is a scalar value of type T diff --git a/src/core/model/val-array.h b/src/core/model/val-array.h index 3d4f13f1f..d09edac82 100644 --- a/src/core/model/val-array.h +++ b/src/core/model/val-array.h @@ -158,13 +158,13 @@ class ValArray : public SimpleRefCount> */ ValArray& operator=(const ValArray&) = default; /** instruct the compiler to generate the implicitly declared move constructor*/ - ValArray(ValArray&&) noexcept = default; + ValArray(ValArray&&) = default; /** * \brief Move assignment operator. * Instruct the compiler to generate the implicitly declared move assignment operator. * \return a reference to the assigned object */ - ValArray& operator=(ValArray&&) noexcept = default; + ValArray& operator=(ValArray&&) = default; /** * \returns Number of rows */ diff --git a/src/core/test/matrix-array-test-suite.cc b/src/core/test/matrix-array-test-suite.cc index c47cbe9dd..77a016e89 100644 --- a/src/core/test/matrix-array-test-suite.cc +++ b/src/core/test/matrix-array-test-suite.cc @@ -69,13 +69,13 @@ class MatrixArrayTestCase : public TestCase * \brief Move constructor. * Instruct the compiler to generate the implicitly declared move constructor */ - MatrixArrayTestCase(MatrixArrayTestCase&&) noexcept = default; + MatrixArrayTestCase(MatrixArrayTestCase&&) = default; /** * \brief Move assignment operator. * Instruct the compiler to generate the implicitly declared copy constructor * \return A reference to this MatrixArrayTestCase */ - MatrixArrayTestCase& operator=(MatrixArrayTestCase&&) noexcept = default; + MatrixArrayTestCase& operator=(MatrixArrayTestCase&&) = default; protected: private: diff --git a/src/core/test/val-array-test-suite.cc b/src/core/test/val-array-test-suite.cc index b7e5c5814..ba831ea1b 100644 --- a/src/core/test/val-array-test-suite.cc +++ b/src/core/test/val-array-test-suite.cc @@ -67,13 +67,13 @@ class ValArrayTestCase : public TestCase * \brief Move constructor. * Instruct the compiler to generate the implicitly declared move constructor */ - ValArrayTestCase(ValArrayTestCase&&) noexcept = default; + ValArrayTestCase(ValArrayTestCase&&) = default; /** * \brief Move assignment operator. * Instruct the compiler to generate the implicitly declared copy constructor * \return A reference to this ValArrayTestCase */ - ValArrayTestCase& operator=(ValArrayTestCase&&) noexcept = default; + ValArrayTestCase& operator=(ValArrayTestCase&&) = default; private: void DoRun() override;