mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-12-23 03:28:52 +00:00
add .load() to make Boost 1.67 happy with its new is_integral check
This commit is contained in:
parent
88c78d1683
commit
4812c062c5
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user