MapLibre Native Core
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
mbgl::platform::now
std::chrono::time_point< std::chrono::system_clock, std::chrono::seconds > now()
mbgl
Definition:
actor.hpp:15
include
mbgl
platform
time.hpp
MapLibre website
|
GitHub repository