mirror of
https://github.com/monero-project/monero.git
synced 2024-11-18 00:37:43 +00:00
Merge pull request #3735
4812c06
add .load() to make Boost 1.67 happy with its new is_integral check (Teutone)
This commit is contained in:
commit
7af0b7fffc
1 changed files with 1 additions and 1 deletions
|
@ -1896,7 +1896,7 @@ void WalletImpl::refreshThreadFunc()
|
||||||
// if auto refresh enabled, we wait for the "m_refreshIntervalSeconds" interval.
|
// if auto refresh enabled, we wait for the "m_refreshIntervalSeconds" interval.
|
||||||
// if not - we wait forever
|
// if not - we wait forever
|
||||||
if (m_refreshIntervalMillis > 0) {
|
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);
|
m_refreshCV.timed_wait(lock, wait_for_ms);
|
||||||
} else {
|
} else {
|
||||||
m_refreshCV.wait(lock);
|
m_refreshCV.wait(lock);
|
||||||
|
|
Loading…
Reference in a new issue