mirror of https://github.com/axmolengine/axmol.git
Fix ntcvt _MSC_VER check
This commit is contained in:
parent
36968c206e
commit
0bed2ea9d5
|
@ -23,7 +23,7 @@ template <class _Elem, class _Traits = std::char_traits<_Elem>,
|
||||||
class intrusive_string : public std::basic_string<_Elem, _Traits, _Alloc>
|
class intrusive_string : public std::basic_string<_Elem, _Traits, _Alloc>
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
#if _MSC_VER > 1900 // VS2017 or later
|
#if _MSC_VER >= 1920 // VS2019+
|
||||||
using _Alty = std::_Rebind_alloc_t<_Alloc, _Elem>;
|
using _Alty = std::_Rebind_alloc_t<_Alloc, _Elem>;
|
||||||
using _Alty_traits = std::allocator_traits<_Alty>;
|
using _Alty_traits = std::allocator_traits<_Alty>;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue