From a3831917897f9ef781d4e299ea2ccaf12f606f9f Mon Sep 17 00:00:00 2001 From: Olivier Parcollet Date: Sat, 18 Oct 2014 16:26:04 +0200 Subject: [PATCH] Fix one test in gcc --- test/triqs/arrays/non_numeric.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/triqs/arrays/non_numeric.cpp b/test/triqs/arrays/non_numeric.cpp index 2793ee7d..70b1b3ce 100644 --- a/test/triqs/arrays/non_numeric.cpp +++ b/test/triqs/arrays/non_numeric.cpp @@ -25,6 +25,8 @@ using namespace triqs::arrays; struct S { double x = 0, y = 0; int i = 0; + S() = default; + S(double x, double y, int k):x(x),y(y),i(k) {} }; std::ostream &operator<<(std::ostream &out, S const &s) { return out << "(" << s.x << " " << s.y << " " << s.i << ")"; }