diff --git a/Base/Pixel/SimulationElement.cpp b/Base/Pixel/SimulationElement.cpp index 5605517a448e9d6d78432bd9826ec2c50b76e7a6..f66f9bc8db2b688e11415747fefe35a30220ca5a 100644 --- a/Base/Pixel/SimulationElement.cpp +++ b/Base/Pixel/SimulationElement.cpp @@ -36,9 +36,9 @@ SimulationElement::SimulationElement(const SimulationElement& other) m_pixel.reset(other.m_pixel->clone()); } -SimulationElement::SimulationElement(SimulationElement&&) noexcept = default; +SimulationElement::SimulationElement(SimulationElement&&) = default; -SimulationElement::~SimulationElement() noexcept = default; +SimulationElement::~SimulationElement() = default; SimulationElement SimulationElement::pointElement(double x, double y) const { diff --git a/Base/Pixel/SimulationElement.h b/Base/Pixel/SimulationElement.h index c7ca48f48f5f495a804d48b7efcbecc713bb8b77..2247f3b44cc8c96c2a9c32cad58ad6d3888b165a 100644 --- a/Base/Pixel/SimulationElement.h +++ b/Base/Pixel/SimulationElement.h @@ -35,10 +35,9 @@ public: const Eigen::Matrix2cd& analyzer, bool isSpecular_); SimulationElement(const SimulationElement& other); - SimulationElement(SimulationElement&& other) noexcept; + SimulationElement(SimulationElement&& other); SimulationElement& operator=(const SimulationElement&) = delete; - - ~SimulationElement() noexcept; + ~SimulationElement(); //! Returns copy of this SimulationElement with k_f given by in-pixel coordinate x,y. SimulationElement pointElement(double x, double y) const;