Commit fffbf1a
authored
Use move semantics instead of copy for functions (yhirose#692)
* Use move semantics instead of copy for functions
In some cases, a few more copies could be prevented by changing function definitions to accept parameters by const-ref, rather than by value, but I didn't want to change public signatures.
* Fix two use-after-move errors1 parent d37bc0f commit fffbf1a
1 file changed
+90
-62
lines changed
0 commit comments