add .load() to make Boost 1.67 happy with its new is_integral check

release-v0.2.2.0
Teutone 6 years ago committed by wowario
parent 4cb1fa3243
commit e492718cd0
No known key found for this signature in database
GPG Key ID: 24DCBE762DE9C111

@ -1740,7 +1740,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…
Cancel
Save