14 lines
233 B
C++
Executable File
14 lines
233 B
C++
Executable File
#include "mls/common.h"
|
|
|
|
namespace mlspp {
|
|
|
|
uint64_t
|
|
seconds_since_epoch()
|
|
{
|
|
// TODO(RLB) This should use std::chrono, but that seems not to be available
|
|
// on some platforms.
|
|
return std::time(nullptr);
|
|
}
|
|
|
|
} // namespace mlspp
|