deprecate the ptime type and related time types. just use boost::chrono / std::chrono

This commit is contained in:
Arvid Norberg
2015-03-12 04:34:54 +00:00
parent a70960c26f
commit c1dc982f4f
85 changed files with 551 additions and 499 deletions

View File

@@ -260,7 +260,7 @@ void test_transfer(settings_pack const& sett)
std::vector<char> resume_data;
alert const* a = ses2.wait_for_alert(seconds(10));
ptime start = time_now_hires();
time_point start = clock_type::now();
while (a)
{
std::auto_ptr<alert> holder = ses2.pop_alert();
@@ -277,7 +277,7 @@ void test_transfer(settings_pack const& sett)
fprintf(stderr, "save resume failed\n");
break;
}
if (total_seconds(time_now_hires() - start) > 10)
if (total_seconds(clock_type::now() - start) > 10)
break;
a = ses2.wait_for_alert(seconds(10));