mirror of
https://github.com/monero-project/monero.git
synced 2026-08-01 08:30:25 -07:00
Replace BOOST_FOREACH with C++11 ranged for
This commit is contained in:
@@ -292,7 +292,7 @@ namespace cryptonote
|
||||
send_stop_signal();
|
||||
CRITICAL_REGION_LOCAL(m_threads_lock);
|
||||
|
||||
BOOST_FOREACH(boost::thread& th, m_threads)
|
||||
for(boost::thread& th: m_threads)
|
||||
th.join();
|
||||
|
||||
MINFO("Mining has been stopped, " << m_threads.size() << " finished" );
|
||||
|
||||
Reference in New Issue
Block a user