diff --git a/src/Converters.cxx b/src/Converters.cxx index 745c771..e924bc9 100644 --- a/src/Converters.cxx +++ b/src/Converters.cxx @@ -3349,11 +3349,10 @@ CPyCppyy::Converter* CPyCppyy::CreateConverter(Cppyy::TCppType_t type, cdims_t d if (!result && cpd == "&&") { // for builtin, can use const-ref for r-ref - h = gConvFactories.find("const " + realTypeStr + " &"); + h = gConvFactories.find("const " + realTypeStr + "&"); if (h != gConvFactories.end()) return (h->second)(dims); - std::string temp ="const " + realUnresolvedTypeStr + " &"; - h = gConvFactories.find("const " + realUnresolvedTypeStr + " &"); + h = gConvFactories.find("const " + realUnresolvedTypeStr + "&"); if (h != gConvFactories.end()) return (h->second)(dims); // else, unhandled moves