summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2019-05-25 16:47:19 +0200
committerStanislaw Halik <sthalik@misaki.pl>2019-05-25 16:47:19 +0200
commite274d7ed9173c615c4a3b6e3f2068f3caa99d392 (patch)
tree4c951fbade59c94682fdf6b9dac6fff3e354f42c
parent4abd3763d8ce650469cee83ce1f413ce4ec43164 (diff)
logic: fix -Wredundant-move
Found with GCC 9.1
-rw-r--r--logic/work.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/logic/work.cpp b/logic/work.cpp
index e0c13ac8..da61b348 100644
--- a/logic/work.cpp
+++ b/logic/work.cpp
@@ -53,7 +53,7 @@ std::unique_ptr<TrackLogger> Work::make_logger(main_settings &s)
QMessageBox::Ok, QMessageBox::NoButton);
}
else
- return std::move(logger);
+ return logger;
}
}