Nicholas Guriev
793862bee6
Fix -Wredundant-move and -Wdeprecated-copy warnings ( #6663 )
...
* Do not move result at end of function
This makes GCC 9.1.2 happy with the active -Wredundant-move warning.
Indeed, such moving of local variables or local arguments before
returning is unnecessary and prevents the compiler from copy elision
optimization.
2019-11-12 18:15:34 +03:00
..
2019-10-01 23:59:46 +03:00
2019-10-01 23:59:46 +03:00
2019-11-05 13:23:56 +03:00
2019-10-19 12:27:28 +04:00
2019-07-24 13:45:24 +02:00
2019-11-12 18:15:34 +03:00
2019-10-01 23:59:46 +03:00
2019-10-19 12:27:52 +04:00
2019-10-19 12:27:52 +04:00
2019-10-19 12:27:56 +04:00
2019-09-06 19:31:07 +03:00
2019-11-05 14:27:42 +03:00
2019-10-01 23:59:46 +03:00
2019-11-12 18:15:34 +03:00
2019-10-01 23:59:46 +03:00
2019-11-06 15:45:03 +03:00
2019-11-05 14:27:42 +03:00
2019-10-19 12:27:56 +04:00
2019-08-09 11:51:33 +01:00
2019-11-12 18:15:34 +03:00
2019-10-19 12:27:52 +04:00
2019-11-12 18:15:34 +03:00
2019-08-09 11:51:33 +01:00
2019-10-01 23:59:46 +03:00
2019-10-01 23:59:46 +03:00
2019-11-12 18:15:34 +03:00
2019-08-27 19:10:37 +03:00
2019-10-01 23:59:46 +03:00
2019-10-01 23:59:46 +03:00