Compile with gcc-7.1.0

This commit is contained in:
Valeriy Bykov 2017-06-14 19:55:33 +03:00
parent 20ea506b31
commit 26e16f9cad

View File

@ -3,7 +3,7 @@
#define __VALIJSON_OPTIONAL_HPP
// This should be removed once C++17 is widely available
#if __has_include(<optional>)
#if __has_include(<optional>) && __cplusplus >= 201703
# include <optional>
namespace opt = std;
#else