diff options
author | Gael Guennebaud <g.gael@free.fr> | 2016-06-09 22:52:37 +0200 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2016-06-09 22:52:37 +0200 |
commit | 1fc2746417c8b4bf1645c703b1f99b1871c8d16e (patch) | |
tree | 2b376caa22f89f0fa0d03a955984d78a3b92e88a /Eigen/src/Core | |
parent | 37638dafd71e39407d22d4269b32d1c73b84feb8 (diff) |
Make Arrays's ctor/assignment noexcept
Diffstat (limited to 'Eigen/src/Core')
-rw-r--r-- | Eigen/src/Core/Array.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Eigen/src/Core/Array.h b/Eigen/src/Core/Array.h index c0af4aa9d..7c2e0de16 100644 --- a/Eigen/src/Core/Array.h +++ b/Eigen/src/Core/Array.h @@ -149,7 +149,7 @@ class Array #if EIGEN_HAS_RVALUE_REFERENCES EIGEN_DEVICE_FUNC - Array(Array&& other) + Array(Array&& other) EIGEN_NOEXCEPT_IF(std::is_nothrow_move_constructible<Scalar>::value) : Base(std::move(other)) { Base::_check_template_params(); @@ -157,7 +157,7 @@ class Array Base::_set_noalias(other); } EIGEN_DEVICE_FUNC - Array& operator=(Array&& other) + Array& operator=(Array&& other) EIGEN_NOEXCEPT_IF(std::is_nothrow_move_assignable<Scalar>::value) { other.swap(*this); return *this; |