aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2018-06-16 14:07:25 -0500
committerluigi1111 <luigi1111w@gmail.com>2018-06-16 14:07:25 -0500
commit7af0b7fffcf2f30ce7233458b69ee9524ea2a286 (patch)
treeac9dd1f59797b9b489fb3a04f0748a1258dd7b1a
parentMerge pull request #3732 (diff)
parentadd .load() to make Boost 1.67 happy with its new is_integral check (diff)
downloadmonero-7af0b7fffcf2f30ce7233458b69ee9524ea2a286.tar.xz
Merge pull request #3735
4812c06 add .load() to make Boost 1.67 happy with its new is_integral check (Teutone)
-rw-r--r--src/wallet/api/wallet.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/api/wallet.cpp b/src/wallet/api/wallet.cpp
index 908e2db2e..cb9122134 100644
--- a/src/wallet/api/wallet.cpp
+++ b/src/wallet/api/wallet.cpp
@@ -1896,7 +1896,7 @@ void WalletImpl::refreshThreadFunc()
// if auto refresh enabled, we wait for the "m_refreshIntervalSeconds" interval.
// if not - we wait forever
if (m_refreshIntervalMillis > 0) {
- boost::posix_time::milliseconds wait_for_ms(m_refreshIntervalMillis);
+ boost::posix_time::milliseconds wait_for_ms(m_refreshIntervalMillis.load());
m_refreshCV.timed_wait(lock, wait_for_ms);
} else {
m_refreshCV.wait(lock);