We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7134977 commit 829ff81Copy full SHA for 829ff81
1 file changed
bindings/pyroot/cppyy/CPyCppyy/src/CPPMethod.cxx
@@ -354,7 +354,7 @@ CPyCppyy::CPPMethod::CPPMethod(
354
fArgsRequired(-1)
355
{
356
Cppyy::TCppType_t result = Cppyy::ResolveType(Cppyy::GetMethodReturnType(fMethod));
357
- if (TypeReductionMap.contains(result))
+ if (TypeReductionMap.find(result) != TypeReductionMap.end())
358
fMethod = Cppyy::ReduceReturnType(fMethod, TypeReductionMap[result]);
359
if (result && Cppyy::IsLambdaClass(result))
360
fMethod = Cppyy::AdaptFunctionForLambdaReturn(fMethod);
0 commit comments