MapLibre Native Core
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
time.hpp
Go to the documentation of this file.
1 #pragma once
2 
3 #include <chrono>
4 
5 namespace mbgl {
6 namespace platform {
7 
8 // Returns the current time. Abstracted because some platforms
9 // will not allow direct access to the current time via syscall.
10 std::chrono::time_point<std::chrono::system_clock, std::chrono::seconds> now();
11 
12 } // namespace platform
13 } // namespace mbgl
std::chrono::time_point< std::chrono::system_clock, std::chrono::seconds > now()
Definition: actor.hpp:15