Skip to content

Commit

Permalink
Update class.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
andriish authored Apr 12, 2024
1 parent 1034979 commit cd158c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/class.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -752,7 +752,7 @@ string bind_member_functions_for_call_back(CXXRecordDecl const *C, string const
if( return_type.find(',') != std::string::npos ) {
string return_type_alias = "_binder_ret_" + std::to_string(ret_id);
++ret_id;
if (return_type.rfind("class ", 0) == 0) return_type = return_type.substr(6);
if (begins_with(return_type,"class ")) return_type = return_type.substr(6);
c += "\tusing {} = {};\n"_format(return_type_alias, return_type);
return_type = std::move(return_type_alias);
}
Expand Down

0 comments on commit cd158c6

Please sign in to comment.