fix build with boost-1.34.1
This commit is contained in:
@@ -1749,6 +1749,7 @@ namespace libtorrent
|
||||
{
|
||||
ptime now = time_now_hires();
|
||||
TORRENT_ASSERT(now >= m_last_file_check);
|
||||
#if BOOST_VERSION > 103600
|
||||
if (now - m_last_file_check < milliseconds(m_settings.file_checks_delay_per_block))
|
||||
{
|
||||
int sleep_time = m_settings.file_checks_delay_per_block
|
||||
@@ -1761,6 +1762,7 @@ namespace libtorrent
|
||||
+ boost::posix_time::milliseconds(sleep_time));
|
||||
}
|
||||
m_last_file_check = time_now_hires();
|
||||
#endif
|
||||
|
||||
if (m_waiting_to_shutdown) break;
|
||||
|
||||
|
Reference in New Issue
Block a user