From b2ea34d2f2452e0b54f7d0cfe60543f44f15a1f9 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Mon, 22 Jul 2013 21:07:32 +0000 Subject: [PATCH] fix windows build --- src/time.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/time.cpp b/src/time.cpp index 3a411ae9f..84b1855d9 100644 --- a/src/time.cpp +++ b/src/time.cpp @@ -205,26 +205,26 @@ namespace libtorrent time_duration microsec(int s) { - return time_duration(aux::microseconds_to_performance_counter(s)); + return time_duration(microseconds_to_performance_counter(s)); } time_duration milliseconds(int s) { - return time_duration(aux::microseconds_to_performance_counter( + return time_duration(microseconds_to_performance_counter( s * 1000)); } time_duration seconds(int s) { - return time_duration(aux::microseconds_to_performance_counter( + return time_duration(microseconds_to_performance_counter( s * 1000000)); } time_duration minutes(int s) { - return time_duration(aux::microseconds_to_performance_counter( + return time_duration(microseconds_to_performance_counter( s * 1000000 * 60)); } time_duration hours(int s) { - return time_duration(aux::microseconds_to_performance_counter( + return time_duration(microseconds_to_performance_counter( s * 1000000 * 60 * 60)); } }