forked from premiere/premiere-libtorrent
fix windows build
This commit is contained in:
parent
158cb797c6
commit
b2ea34d2f2
10
src/time.cpp
10
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));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue