diff options
author | Christian Biesinger <cbiesinger@google.com> | 2019-10-08 17:25:26 -0500 |
---|---|---|
committer | Christian Biesinger <cbiesinger@google.com> | 2019-10-08 17:36:15 -0500 |
commit | d13d16c4d8e976ebd00353e04ca8a761b8850a11 (patch) | |
tree | c5934e66287c895b75dddf3a29945797f1160193 /gdb/gdbsupport/thread_pool.c | |
parent | 52300df201ed1a35eb15b2bc5eb441a1b7eec393 (diff) | |
download | binutils-users/cbiesinger/threadpool.zip binutils-users/cbiesinger/threadpool.tar.gz binutils-users/cbiesinger/threadpool.tar.bz2 |
Switch to futuresusers/cbiesinger/threadpool
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 (); |