From 818bf74b18bcad8abf3854595529c9ca5d56241d Mon Sep 17 00:00:00 2001 From: Christoph Hertzberg Date: Fri, 23 Nov 2018 14:24:22 +0100 Subject: [PATCH] Add default constructor to Bar to make test compile again with clang-3.8 (grafted from ea60a172cf1c2b82d3d9b43a57e5a8ad391f1bdf ) --- test/jacobisvd.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/jacobisvd.cpp b/test/jacobisvd.cpp index 70fbe321a..64b866358 100644 --- a/test/jacobisvd.cpp +++ b/test/jacobisvd.cpp @@ -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