Commit df194469 authored by John Parent's avatar John Parent
Browse files

Unique lamba use pbr

Lambda function for unique ptr abstraction needs pbr semantics
to perform make_unique properly.
#TODO ensure proper ref count on return objects
parent 4c0e8d1c
Pipeline #232674 failed with stages
in 17 minutes and 26 seconds
......@@ -1179,7 +1179,7 @@ class BindingsGenerator:
else:
type_ = arg.decl_type.decl_string
lambda_return += name + ", "
lambda_signature += type_ + " " + name + ", "
lambda_signature += type_ + " &" + name + ", "
call = "{}({});"
lambda_return = lambda_return.strip(", ")
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment