Skip to content

Commit 60381d9

Browse files
committed
[CPyCppyy] Add missing std::string executors
1 parent 6738f0c commit 60381d9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

bindings/pyroot/cppyy/CPyCppyy/src/Executors.cxx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1088,7 +1088,9 @@ struct InitExecFactories_t {
10881088
gf["char16_t*"] = (ef_t)+[](cdims_t) { static CString16Executor e{}; return &e;};
10891089
gf["char32_t*"] = (ef_t)+[](cdims_t) { static CString32Executor e{}; return &e;};
10901090
gf["std::string"] = (ef_t)+[](cdims_t) { static STLStringExecutor e{}; return &e; };
1091+
gf["string"] = gf["std::string"];
10911092
gf["std::string&"] = (ef_t)+[](cdims_t) { return new STLStringRefExecutor{}; };
1093+
gf["string&"] = gf["std::string&"];
10921094
gf["std::wstring"] = (ef_t)+[](cdims_t) { static STLWStringExecutor e{}; return &e; };
10931095
gf[WSTRING1] = gf["std::wstring"];
10941096
gf[WSTRING2] = gf["std::wstring"];

0 commit comments

Comments
 (0)