summaryrefslogtreecommitdiff
path: root/src/mbgl/style/applied_class_properties.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/style/applied_class_properties.hpp')
-rw-r--r--src/mbgl/style/applied_class_properties.hpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mbgl/style/applied_class_properties.hpp b/src/mbgl/style/applied_class_properties.hpp
index bd84095590..6a0d2a6fba 100644
--- a/src/mbgl/style/applied_class_properties.hpp
+++ b/src/mbgl/style/applied_class_properties.hpp
@@ -3,20 +3,20 @@
#include <mbgl/style/property_value.hpp>
#include <mbgl/style/class_dictionary.hpp>
+#include <mbgl/util/chrono.hpp>
#include <list>
-#include <chrono>
namespace mbgl {
class AppliedClassProperty {
public:
- AppliedClassProperty(ClassID class_id, std::chrono::steady_clock::time_point begin, std::chrono::steady_clock::time_point end, const PropertyValue &value);
+ AppliedClassProperty(ClassID class_id, TimePoint begin, TimePoint end, const PropertyValue &value);
public:
const ClassID name;
- const std::chrono::steady_clock::time_point begin;
- const std::chrono::steady_clock::time_point end;
+ const TimePoint begin;
+ const TimePoint end;
const PropertyValue value;
};
@@ -28,9 +28,9 @@ public:
public:
// Returns the ID of the most recent
ClassID mostRecent() const;
- void add(ClassID class_id, std::chrono::steady_clock::time_point begin, std::chrono::steady_clock::time_point end, const PropertyValue &value);
+ void add(ClassID class_id, TimePoint begin, TimePoint end, const PropertyValue &value);
bool hasTransitions() const;
- void cleanup(std::chrono::steady_clock::time_point now);
+ void cleanup(TimePoint now);
bool empty() const;
};