mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-04-24 02:29:33 +08:00
bug #1573: workaround gcc 4.7 and 4.8 bug
This commit is contained in:
parent
b1653d1599
commit
d5ed64512f
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user