diff options
author | Gael Guennebaud <g.gael@free.fr> | 2018-08-27 10:38:20 +0200 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2018-08-27 10:38:20 +0200 |
commit | d5ed64512fc79dff800c90acd73e3e6a08a3d2c3 (patch) | |
tree | 103f848951ada1f1737fade4f0777d0da707b8bf /test/geo_quaternion.cpp | |
parent | b1653d15996b844852e2cefdd4d63e55dbc771f5 (diff) |
bug #1573: workaround gcc 4.7 and 4.8 bug
Diffstat (limited to 'test/geo_quaternion.cpp')
-rw-r--r-- | test/geo_quaternion.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/geo_quaternion.cpp b/test/geo_quaternion.cpp index ed801c71b..27219db10 100644 --- a/test/geo_quaternion.cpp +++ b/test/geo_quaternion.cpp @@ -290,6 +290,8 @@ template<typename PlainObjectType> void check_const_correctness(const PlainObjec // Regression for bug 1573 struct MovableClass { + // The following line is a workaround for gcc 4.7 and 4.8 (see bug 1573 comments). + static_assert(std::is_nothrow_move_constructible<Quaternionf>::value,""); MovableClass() = default; MovableClass(const MovableClass&) = default; MovableClass(MovableClass&&) noexcept = default; |