fixed compiling on never msvc with older language version (c++11/14)
This commit is contained in:
parent
cfe98038ba
commit
4c2fac8c1e
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue