Commit b4939b1b authored by Miro Knejp's avatar Miro Knejp

Enable NRVO in JNI's Binary::toCpp

This optimization is usually disabled if not all paths return the same local object.
parent 683dc7f0
......@@ -158,7 +158,7 @@ namespace djinni
jniExceptionCheck(jniEnv);
if (!length) {
return {};
return ret;
}
{
......
Markdown is supported
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