kotatogram-desktop/Telegram/SourceFiles
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
..
_other Remove 'mac32' and add 'osx' special targets. 2019-11-05 15:45:55 +03:00
api
boxes Fix -Wredundant-move and -Wdeprecated-copy warnings (#6663) 2019-11-12 18:15:34 +03:00
calls Fix -Wredundant-move and -Wdeprecated-copy warnings (#6663) 2019-11-12 18:15:34 +03:00
chat_helpers Fix -Wredundant-move and -Wdeprecated-copy warnings (#6663) 2019-11-12 18:15:34 +03:00
codegen/scheme Use TL code generator from lib_tl. 2019-10-19 12:27:56 +04:00
core 'TDESKTOP_DISABLE_CRASH_REPORTS' => 'DESKTOP_APP_DISABLE_..' 2019-11-07 13:53:55 +03:00
data Use base::FileNameFromUserString. 2019-10-20 14:22:46 +04:00
dialogs
export Update submodules to the latest spellcheck. 2019-11-05 13:23:56 +03:00
ffmpeg Fixed animated stickers cache 2019-11-11 19:46:33 +03:00
history Fix -Wredundant-move and -Wdeprecated-copy warnings (#6663) 2019-11-12 18:15:34 +03:00
info Fix -Wredundant-move and -Wdeprecated-copy warnings (#6663) 2019-11-12 18:15:34 +03:00
inline_bots
intro Use base::call_delayed. 2019-10-19 12:27:56 +04:00
lang
main Added new setting to disable spellchecker. 2019-10-20 21:11:37 +04:00
media Fix -Wredundant-move and -Wdeprecated-copy warnings (#6663) 2019-11-12 18:15:34 +03:00
mtproto Update to the latest submodules. 2019-11-05 14:27:42 +03:00
overview
passport Fix -Wredundant-move and -Wdeprecated-copy warnings (#6663) 2019-11-12 18:15:34 +03:00
platform 'TDESKTOP_DISABLE_CRASH_REPORTS' => 'DESKTOP_APP_DISABLE_..' 2019-11-07 13:53:55 +03:00
profile
settings Fix -Wredundant-move and -Wdeprecated-copy warnings (#6663) 2019-11-12 18:15:34 +03:00
storage
support Use base::call_delayed. 2019-10-19 12:27:56 +04:00
ui Update submodules to the latest spellcheck. 2019-11-05 13:23:56 +03:00
window Fix -Wredundant-move and -Wdeprecated-copy warnings (#6663) 2019-11-12 18:15:34 +03:00
apiwrap.cpp Use base::call_delayed. 2019-10-19 12:27:56 +04:00
apiwrap.h
app.cpp
app.h
config.h
facades.cpp Use base::call_delayed. 2019-10-19 12:27:56 +04:00
facades.h Use base::call_delayed. 2019-10-19 12:27:56 +04:00
layout.cpp
layout.h
logs.cpp
logs.h
main.cpp
mainwidget.cpp
mainwidget.h
mainwindow.cpp Fix tray icon on macOS in Qt 5.12.5. 2019-10-19 12:27:56 +04:00
mainwindow.h
observer_peer.cpp
observer_peer.h
qt_static_plugins.cpp Support building OS X 10.10/10.11 version. 2019-11-05 14:27:42 +03:00
settings.cpp
settings.h
stdafx.cpp
stdafx.h