We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e9e508d commit 2b326faCopy full SHA for 2b326fa
2 files changed
include/ignition/math/Angle.hh
@@ -110,7 +110,7 @@ namespace ignition
110
111
/// \brief Move assignment operator
112
/// \param[in] _angle Angle to move
113
- public: Angle& operator=(Angle &&_angle);
+ public: Angle& operator=(Angle &&_angle) noexcept;
114
115
/// \brief Set the value from an angle in radians.
116
/// \param[in] _radian Radian value.
src/Angle.cc
@@ -49,7 +49,7 @@ Angle::~Angle() = default;
49
Angle &Angle::operator=(const Angle &_angle) = default;
50
51
//////////////////////////////////////////////////
52
-Angle &Angle::operator=(Angle &&_angle) = default;
+Angle &Angle::operator=(Angle &&_angle) noexcept = default;
53
54
55
void Angle::Radian(double _radian)
0 commit comments