Fix a bug of string_view for MSVC (#870)
This commit is contained in:
parent
36fb3b3a40
commit
1e87c35b8f
|
@ -39,7 +39,7 @@ inline LogStream &operator<<(LogStream &ls, const drogon::string_view &v)
|
|||
}
|
||||
} // namespace trantor
|
||||
|
||||
#if __cplusplus < 201703L
|
||||
#if __cplusplus < 201703L && !(defined _MSC_VER && _MSC_VER > 1900)
|
||||
namespace std
|
||||
{
|
||||
template <>
|
||||
|
|
Loading…
Reference in New Issue