fixed compiling on never msvc with older language version (c++11/14)

This commit is contained in:
daMaex 2018-10-19 13:11:10 +02:00
commit 4c2fac8c1e

View file

@ -9,7 +9,7 @@
#include <string> #include <string>
#include <unordered_map> #include <unordered_map>
#if __cplusplus > 201402L || (defined(_MSC_VER) && _MSC_VER >= 1910) #if __cplusplus > 201402L || _MSVC_LANG > 201402L
#include <string_view> #include <string_view>
namespace SimpleWeb { namespace SimpleWeb {
using string_view = std::string_view; using string_view = std::string_view;