diff options
Diffstat (limited to 'src/lib/asiolink')
-rw-r--r-- | src/lib/asiolink/io_service_thread_pool.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/asiolink/io_service_thread_pool.cc b/src/lib/asiolink/io_service_thread_pool.cc index 8919385cff..8a4488074e 100644 --- a/src/lib/asiolink/io_service_thread_pool.cc +++ b/src/lib/asiolink/io_service_thread_pool.cc @@ -114,7 +114,7 @@ IoServiceThreadPool::checkPermissions(State state) { bool IoServiceThreadPool::checkThreadId(std::thread::id id) { - for (auto thread : threads_) { + for (const auto& thread : threads_) { if (id == thread->get_id()) { return (true); } |