aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_core/miner.cpp
diff options
context:
space:
mode:
authorMiguel Herranz <miguel@ipglider.org>2017-01-22 21:38:10 +0100
committerMiguel Herranz <miguel@ipglider.org>2017-01-22 21:38:10 +0100
commit629e3101ab54edfcadc42c6f3d7ea9c4fa3f9a93 (patch)
treef97194d4084995eda8bb10fd776881c49e1d9d88 /src/cryptonote_core/miner.cpp
parentMerge pull request #1608 (diff)
downloadmonero-629e3101ab54edfcadc42c6f3d7ea9c4fa3f9a93.tar.xz
Replace BOOST_FOREACH with C++11 ranged for
Diffstat (limited to 'src/cryptonote_core/miner.cpp')
-rw-r--r--src/cryptonote_core/miner.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cryptonote_core/miner.cpp b/src/cryptonote_core/miner.cpp
index 51f508858..204d6d069 100644
--- a/src/cryptonote_core/miner.cpp
+++ b/src/cryptonote_core/miner.cpp
@@ -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" );