Skip to content

Commit 4fab5c4

Browse files
fix type converters function resolution
1 parent 66d7196 commit 4fab5c4

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/Converters.cxx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3349,11 +3349,10 @@ CPyCppyy::Converter* CPyCppyy::CreateConverter(Cppyy::TCppType_t type, cdims_t d
33493349

33503350
if (!result && cpd == "&&") {
33513351
// for builtin, can use const-ref for r-ref
3352-
h = gConvFactories.find("const " + realTypeStr + " &");
3352+
h = gConvFactories.find("const " + realTypeStr + "&");
33533353
if (h != gConvFactories.end())
33543354
return (h->second)(dims);
3355-
std::string temp ="const " + realUnresolvedTypeStr + " &";
3356-
h = gConvFactories.find("const " + realUnresolvedTypeStr + " &");
3355+
h = gConvFactories.find("const " + realUnresolvedTypeStr + "&");
33573356
if (h != gConvFactories.end())
33583357
return (h->second)(dims);
33593358
// else, unhandled moves

0 commit comments

Comments
 (0)