mirror of
https://github.com/TomHarte/CLK.git
synced 2025-08-13 15:25:56 +00:00
Remove pointless — and damaging — std::move
.
This commit is contained in:
@@ -120,7 +120,7 @@ template <bool perform_automatically, bool start_immediately = true, typename Pe
|
|||||||
///
|
///
|
||||||
/// This is not guaranteed safely to restart a stopped queue.
|
/// This is not guaranteed safely to restart a stopped queue.
|
||||||
void start() {
|
void start() {
|
||||||
thread_ = std::move(std::thread{
|
thread_ = std::thread{
|
||||||
[this] {
|
[this] {
|
||||||
ActionVector actions;
|
ActionVector actions;
|
||||||
|
|
||||||
@@ -144,7 +144,7 @@ template <bool perform_automatically, bool start_immediately = true, typename Pe
|
|||||||
actions.clear();
|
actions.clear();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Schedules any remaining unscheduled work, then blocks synchronously
|
/// Schedules any remaining unscheduled work, then blocks synchronously
|
||||||
|
Reference in New Issue
Block a user