Cleanup std::chrono usage
Use mbgl::Duration and mbgl::{,Milli}Seconds whenever possible.
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
#include <mbgl/util/run_loop.hpp>
|
||||
#include <mbgl/util/string.hpp>
|
||||
#include <mbgl/util/timer.hpp>
|
||||
#include <mbgl/util/chrono.hpp>
|
||||
|
||||
#include <memory>
|
||||
#include <random>
|
||||
@@ -186,7 +187,7 @@ TEST_F(Storage, CacheSizePruneLeastAccessed) {
|
||||
bool done = false;
|
||||
|
||||
util::Timer timer;
|
||||
timer.start(std::chrono::milliseconds(1300),
|
||||
timer.start(Milliseconds(1300),
|
||||
Duration::zero(),
|
||||
[&done] { done = true; });
|
||||
|
||||
|
||||
Reference in New Issue
Block a user