diff options
author | Teutone <Teutone@users.noreply.github.com> | 2018-04-30 19:01:58 +0200 |
---|---|---|
committer | Teutone <Teutone@users.noreply.github.com> | 2018-05-05 21:44:28 +0200 |
commit | 4812c062c5c09876a62e47df0621a68cfcdf739d (patch) | |
tree | 7129e792fca04860a941a8351dc55ed3c8ef6b84 /src/wallet/api/wallet.cpp | |
parent | Merge pull request #3729 (diff) | |
download | monero-4812c062c5c09876a62e47df0621a68cfcdf739d.tar.xz |
add .load() to make Boost 1.67 happy with its new is_integral check
Diffstat (limited to 'src/wallet/api/wallet.cpp')
-rw-r--r-- | src/wallet/api/wallet.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/api/wallet.cpp b/src/wallet/api/wallet.cpp index b78a471b9..7d6389904 100644 --- a/src/wallet/api/wallet.cpp +++ b/src/wallet/api/wallet.cpp @@ -1752,7 +1752,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); |