diff options
Diffstat (limited to 'src/mbgl/map/source.hpp')
-rw-r--r-- | src/mbgl/map/source.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mbgl/map/source.hpp b/src/mbgl/map/source.hpp index 4cdd2ed64d..4a04769bcf 100644 --- a/src/mbgl/map/source.hpp +++ b/src/mbgl/map/source.hpp @@ -8,12 +8,12 @@ #include <mbgl/util/noncopyable.hpp> #include <mbgl/util/mat4.hpp> #include <mbgl/util/ptr.hpp> +#include <mbgl/util/chrono.hpp> #include <cstdint> #include <forward_list> #include <iosfwd> #include <map> -#include <chrono> namespace mbgl { @@ -68,7 +68,7 @@ private: bool loaded = false; // Stores the time when this source was most recently updated. - std::chrono::steady_clock::time_point updated = std::chrono::steady_clock::time_point::min(); + TimePoint updated = TimePoint::min(); std::map<Tile::ID, std::unique_ptr<Tile>> tiles; std::map<Tile::ID, std::weak_ptr<TileData>> tile_data; |