mirror of
https://github.com/monero-project/monero.git
synced 2025-05-17 04:42:19 -04:00
Replace BOOST_FOREACH with C++11 ranged for
This commit is contained in:
parent
daf66621dc
commit
629e3101ab
12 changed files with 78 additions and 78 deletions
|
@ -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" );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue