From 038b0b6f0775a3be0561dc8d16e77b51a58fce18 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