1
0
Fork 0
mirror of https://git.wownero.com/wownero/wownero.git synced 2024-08-15 01:03:23 +00:00

Merge pull request

1772c859 add .load() to make Boost 1.67 happy with its new is_integral check (Teutone)
This commit is contained in:
Riccardo Spagni 2018-07-10 09:33:13 +02:00
commit a486cae407
No known key found for this signature in database
GPG key ID: 55432DF31CCD4FCD

View file

@ -1783,7 +1783,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);