diff options
Diffstat (limited to 'gdb/gdbsupport/thread_pool.c')
-rw-r--r-- | gdb/gdbsupport/thread_pool.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/gdbsupport/thread_pool.c b/gdb/gdbsupport/thread_pool.c index 03fef95..a78edea 100644 --- a/gdb/gdbsupport/thread_pool.c +++ b/gdb/gdbsupport/thread_pool.c @@ -40,7 +40,7 @@ thread_pool::thread_function () break; if (m_tasks.empty ()) continue; - t = m_tasks.front(); + t = std::move (m_tasks.front()); m_tasks.pop(); } t (); |