aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/api/wallet.cpp
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 /src/wallet/api/wallet.cpp
parentfb2b16f10a92b4c2008d74cee339ceee9093fa0b (diff)
parent4812c062c5c09876a62e47df0621a68cfcdf739d (diff)
downloadmonzero-core-7af0b7fffcf2f30ce7233458b69ee9524ea2a286.tar.gz
monzero-core-7af0b7fffcf2f30ce7233458b69ee9524ea2a286.tar.xz
monzero-core-7af0b7fffcf2f30ce7233458b69ee9524ea2a286.zip
Merge pull request #3735
4812c06 add .load() to make Boost 1.67 happy with its new is_integral check (Teutone)
Diffstat (limited to 'src/wallet/api/wallet.cpp')
-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);