From d5ed64512fc79dff800c90acd73e3e6a08a3d2c3 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Mon, 27 Aug 2018 10:38:20 +0200 Subject: bug #1573: workaround gcc 4.7 and 4.8 bug --- test/geo_quaternion.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test/geo_quaternion.cpp') 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 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::value,""); MovableClass() = default; MovableClass(const MovableClass&) = default; MovableClass(MovableClass&&) noexcept = default; -- cgit v1.2.3