mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-07-10 23:21:47 +08:00
Add default constructor to Bar to make test compile again with clang-3.8
(grafted from ea60a172cf1c2b82d3d9b43a57e5a8ad391f1bdf )
This commit is contained in:
parent
9d56215db8
commit
818bf74b18
@ -70,7 +70,9 @@ void jacobisvd_method()
|
||||
}
|
||||
|
||||
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; }
|
||||
}
|
||||
// regression test for a very strange MSVC issue for which simply
|
||||
|
Loading…
x
Reference in New Issue
Block a user