Fix function signature of binary +/- operator to not return a reference (#1523)
This function creates a new object on the stack, and was returning it as a reference. This would trigger Clang 12's `-Wreturn-stack-address` warning, and cause the build to fail. This is a cherry-pick from #1285main
parent
f18ee01e68
commit
6f84a9df60
Loading…
Reference in New Issue