Fix ntcvt _MSC_VER check

This commit is contained in:
halx99 2021-05-29 16:50:38 +08:00 committed by GitHub
parent 36968c206e
commit 0bed2ea9d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ template <class _Elem, class _Traits = std::char_traits<_Elem>,
class intrusive_string : public std::basic_string<_Elem, _Traits, _Alloc>
{
public:
#if _MSC_VER > 1900 // VS2017 or later
#if _MSC_VER >= 1920 // VS2019+
using _Alty = std::_Rebind_alloc_t<_Alloc, _Elem>;
using _Alty_traits = std::allocator_traits<_Alty>;