fixed test for gcc 4.8 (no regex)

This commit is contained in:
gabime
2017-12-01 04:35:23 +02:00
parent 70274924b7
commit 49989e0678
2 changed files with 11 additions and 1 deletions

View File

@@ -6,7 +6,10 @@
#include <ostream>
#include <chrono>
#include <exception>
// regex supported only from gcc 4.9 and above
#if !(__GNUC__ <= 4 && __GNUC_MINOR__ < 9)
#include <regex>
#endif
#include "catch.hpp"
#include "utils.h"