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-11-05 13:23:56 +03:00
2019-10-19 12:27:56 +04:00
2019-10-19 12:27:52 +04:00
2019-10-19 12:27:56 +04:00
2019-10-01 23:59:46 +03:00
2019-10-01 23:59:46 +03:00
2019-10-01 23:59:46 +03:00
2019-08-29 10:01:28 +03:00
2019-03-29 14:24:06 +04:00
2019-10-19 12:27:52 +04: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-04-02 14:33:53 +04:00
2019-10-19 12:27:52 +04:00
2019-10-19 12:27:52 +04:00
2019-10-19 12:27:52 +04:00
2019-04-02 14:33:53 +04:00
2019-10-19 12:27:52 +04:00
2019-10-19 12:27:52 +04:00
2019-10-19 12:27:52 +04:00
2019-10-19 12:27:52 +04:00
2019-10-19 12:27:52 +04: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-10-19 12:27:52 +04:00
2019-10-19 12:27:52 +04:00
2019-10-19 12:27:52 +04:00
2019-10-19 12:27:52 +04:00
2019-04-02 14:33:53 +04:00
2019-04-02 14:33:53 +04: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