2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 22:46:10 +00:00

Using standard library instead of std_ namespace.

Currently tested only in VS2015.
This commit is contained in:
John Preston
2017-02-21 16:45:56 +03:00
parent 27f015561a
commit ffc557a0f9
201 changed files with 892 additions and 1386 deletions

View File

@@ -391,7 +391,7 @@ void MainWindow::showSpecialLayer(object_ptr<LayerWidget> layer) {
if (!_layerBg) {
_layerBg.create(bodyWidget());
}
_layerBg->showSpecialLayer(std_::move(layer));
_layerBg->showSpecialLayer(std::move(layer));
}
void MainWindow::showMainMenu() {
@@ -450,12 +450,12 @@ void MainWindow::ui_showBox(object_ptr<BoxContent> box, ShowLayerOptions options
}
if (options.testFlag(KeepOtherLayers)) {
if (options.testFlag(ShowAfterOtherLayers)) {
_layerBg->prependBox(std_::move(box));
_layerBg->prependBox(std::move(box));
} else {
_layerBg->appendBox(std_::move(box));
_layerBg->appendBox(std::move(box));
}
} else {
_layerBg->showBox(std_::move(box));
_layerBg->showBox(std::move(box));
}
if (options.testFlag(ForceFastShowLayer)) {
_layerBg->finishAnimation();