3
0
mirror of https://github.com/triqs/dft_tools synced 2024-12-26 06:14:14 +01:00

Fix one test in gcc

This commit is contained in:
Olivier Parcollet 2014-10-18 16:26:04 +02:00
parent 5eaab18b4f
commit a383191789

View File

@ -25,6 +25,8 @@ using namespace triqs::arrays;
struct S { struct S {
double x = 0, y = 0; double x = 0, y = 0;
int i = 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 << ")"; } std::ostream &operator<<(std::ostream &out, S const &s) { return out << "(" << s.x << " " << s.y << " " << s.i << ")"; }