Replace BOOST_FOREACH with C++11 ranged for

This commit is contained in:
Miguel Herranz 2017-01-22 21:38:10 +01:00
parent daf66621dc
commit 629e3101ab
12 changed files with 78 additions and 78 deletions

View file

@ -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" );