mirror of
https://github.com/matrix-construct/construct
synced 2024-11-16 06:51:08 +01:00
ircd::info: Fix initialization order for timestamps.
This commit is contained in:
parent
868b515c67
commit
4fcb60eda7
1 changed files with 12 additions and 12 deletions
24
ircd/info.cc
24
ircd/info.cc
|
@ -787,6 +787,12 @@ ircd_name
|
||||||
PACKAGE_NAME
|
PACKAGE_NAME
|
||||||
};
|
};
|
||||||
|
|
||||||
|
decltype(ircd::info::startup_time)
|
||||||
|
ircd::info::startup_time
|
||||||
|
{
|
||||||
|
std::time(nullptr)
|
||||||
|
};
|
||||||
|
|
||||||
decltype(ircd::info::startup)
|
decltype(ircd::info::startup)
|
||||||
ircd::info::startup
|
ircd::info::startup
|
||||||
{
|
{
|
||||||
|
@ -799,24 +805,18 @@ ircd::info::compiled
|
||||||
__TIMESTAMP__
|
__TIMESTAMP__
|
||||||
};
|
};
|
||||||
|
|
||||||
decltype(ircd::info::configured)
|
|
||||||
ircd::info::configured
|
|
||||||
{
|
|
||||||
rstrip(ctime(&configured_time), '\n')
|
|
||||||
};
|
|
||||||
|
|
||||||
decltype(ircd::info::startup_time)
|
|
||||||
ircd::info::startup_time
|
|
||||||
{
|
|
||||||
std::time(nullptr)
|
|
||||||
};
|
|
||||||
|
|
||||||
decltype(ircd::info::configured_time)
|
decltype(ircd::info::configured_time)
|
||||||
ircd::info::configured_time
|
ircd::info::configured_time
|
||||||
{
|
{
|
||||||
RB_TIME_CONFIGURED
|
RB_TIME_CONFIGURED
|
||||||
};
|
};
|
||||||
|
|
||||||
|
decltype(ircd::info::configured)
|
||||||
|
ircd::info::configured
|
||||||
|
{
|
||||||
|
rstrip(ctime(&configured_time), '\n')
|
||||||
|
};
|
||||||
|
|
||||||
decltype(ircd::info::commit)
|
decltype(ircd::info::commit)
|
||||||
ircd::info::commit
|
ircd::info::commit
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue