Skip to content

Commit d5ed645

Browse files
committed
bug #1573: workaround gcc 4.7 and 4.8 bug
1 parent b1653d1 commit d5ed645

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/geo_quaternion.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,8 @@ template<typename PlainObjectType> void check_const_correctness(const PlainObjec
290290

291291
// Regression for bug 1573
292292
struct MovableClass {
293+
// The following line is a workaround for gcc 4.7 and 4.8 (see bug 1573 comments).
294+
static_assert(std::is_nothrow_move_constructible<Quaternionf>::value,"");
293295
MovableClass() = default;
294296
MovableClass(const MovableClass&) = default;
295297
MovableClass(MovableClass&&) noexcept = default;

0 commit comments

Comments
 (0)