diff options
author | Gael Guennebaud <g.gael@free.fr> | 2019-01-18 11:12:42 +0100 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2019-01-18 11:12:42 +0100 |
commit | d18f49cbb37d1e4755e7ebfafe9bda949156355c (patch) | |
tree | 1f7ebc540b7ab1af70c6b09d0f68468072a22dfc /test/main.h | |
parent | da0a41b9ce5cd0482c6247f510f8c4ee08cff9ba (diff) |
Fix compilation of unit tests with gcc and c++17
Diffstat (limited to 'test/main.h')
-rw-r--r-- | test/main.h | 1 |
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 |