From 04607dc9f377c0676e0a7df97039a12e699eccea Mon Sep 17 00:00:00 2001 From: Daniel James Date: Thu, 13 Oct 2016 17:03:31 +0100 Subject: [PATCH] Fix for clang. --- test/helpers/equivalent.hpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/test/helpers/equivalent.hpp b/test/helpers/equivalent.hpp index 127a394b..61b91538 100644 --- a/test/helpers/equivalent.hpp +++ b/test/helpers/equivalent.hpp @@ -42,15 +42,14 @@ namespace test } struct equivalent_type { + equivalent_type() {} + template bool operator()(T1 const& x, T2 const& y) const { return equivalent_impl(x, y, derived); } }; - // This should't be a problem as I'm only using a single compile unit - // in each test (this is actually require by the minimal test - // framework). const equivalent_type equivalent; template