2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-28 21:18:46 +00:00
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-20 14:22:46 +04:00
2019-11-11 19:46:33 +03:00
2019-10-19 12:27:56 +04:00
2019-10-19 12:27:52 +04:00
2019-11-05 14:27:42 +03:00
2019-10-19 12:27:28 +04:00
2019-10-19 12:27:52 +04:00
2019-10-19 12:27:56 +04:00
2019-10-19 12:27:56 +04:00
2019-10-19 12:27:56 +04:00
2019-10-19 12:27:52 +04:00
2019-10-01 23:59:46 +03:00
2019-10-19 12:27:56 +04:00
2019-10-19 12:27:56 +04:00
2019-10-19 12:27:56 +04:00
2019-10-19 12:27:52 +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