Files
MapLibreParticleLab/include/mln/platform/time.hpp
Bart Louwers 2a8ebc4906 core: rename mbgl directories to mln (#4511)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2026-08-22 20:50:14 +02:00

14 lines
323 B
C++

#pragma once
#include <chrono>
namespace mln {
namespace platform {
// Returns the current time. Abstracted because some platforms
// will not allow direct access to the current time via syscall.
std::chrono::time_point<std::chrono::system_clock, std::chrono::seconds> now();
} // namespace platform
} // namespace mln