Fix a bug of string_view for MSVC (#870)

This commit is contained in:
An Tao 2021-05-25 16:51:49 +08:00 committed by GitHub
parent 36fb3b3a40
commit 1e87c35b8f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ inline LogStream &operator<<(LogStream &ls, const drogon::string_view &v)
} }
} // namespace trantor } // namespace trantor
#if __cplusplus < 201703L #if __cplusplus < 201703L && !(defined _MSC_VER && _MSC_VER > 1900)
namespace std namespace std
{ {
template <> template <>