From 527cf37afd461035b01762eee6bf0636ad0a2c9e Mon Sep 17 00:00:00 2001 From: wmayer Date: Wed, 25 Nov 2020 22:11:32 +0100 Subject: [PATCH] PyCXX: [skip ci] avoid MSVC build failure (still needs a proper fix) --- src/CXX/Python3/Objects.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/CXX/Python3/Objects.hxx b/src/CXX/Python3/Objects.hxx index eb7afc885b..7dd09af70d 100644 --- a/src/CXX/Python3/Objects.hxx +++ b/src/CXX/Python3/Objects.hxx @@ -1298,8 +1298,8 @@ namespace Py virtual size_type max_size() const { - //return std::string::npos; // ? - return std::numeric_limits::max(); + return std::string::npos; // ? + //return std::numeric_limits::max(); } virtual size_type capacity() const