aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/main.h
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2019-01-18 11:12:42 +0100
committerGravatar Gael Guennebaud <g.gael@free.fr>2019-01-18 11:12:42 +0100
commitd18f49cbb37d1e4755e7ebfafe9bda949156355c (patch)
tree1f7ebc540b7ab1af70c6b09d0f68468072a22dfc /test/main.h
parentda0a41b9ce5cd0482c6247f510f8c4ee08cff9ba (diff)
Fix compilation of unit tests with gcc and c++17
Diffstat (limited to 'test/main.h')
-rw-r--r--test/main.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/main.h b/test/main.h
index 9c1465e9a..a8226ab19 100644
--- a/test/main.h
+++ b/test/main.h
@@ -17,6 +17,7 @@
#include <sstream>
#include <vector>
#include <typeinfo>
+#include <functional>
// The following includes of STL headers have to be done _before_ the
// definition of macros min() and max(). The reason is that many STL