mirror of
https://github.com/matrix-construct/construct
synced 2024-11-30 02:32:43 +01:00
ircd: Use address of ::gettimeofday to resolve error in g++-7.
This commit is contained in:
parent
2c8154dfe4
commit
e5a50a0b79
1 changed files with 1 additions and 1 deletions
|
@ -202,6 +202,6 @@ inline ircd::microtime_t
|
||||||
ircd::microtime()
|
ircd::microtime()
|
||||||
{
|
{
|
||||||
struct timeval tv;
|
struct timeval tv;
|
||||||
syscall(::gettimeofday, &tv, nullptr);
|
syscall(&::gettimeofday, &tv, nullptr);
|
||||||
return { tv.tv_sec, tv.tv_usec };
|
return { tv.tv_sec, tv.tv_usec };
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue