2
0
mirror of https://gitlab.com/libeigen/eigen.git synced 2024-12-27 07:29:52 +08:00

Add default constructor to Bar to make test compile again with clang-3.8

This commit is contained in:
Christoph Hertzberg 2018-11-23 14:24:22 +01:00
parent 806352d844
commit ea60a172cf

View File

@ -70,7 +70,9 @@ void jacobisvd_method()
} }
namespace Foo { namespace Foo {
class Bar {}; // older compiler require a default constructor for Bar
// cf: https://stackoverflow.com/questions/7411515/
class Bar {public: Bar() {}};
bool operator<(const Bar&, const Bar&) { return true; } bool operator<(const Bar&, const Bar&) { return true; }
} }
// regression test for a very strange MSVC issue for which simply // regression test for a very strange MSVC issue for which simply