diff options
author | Thiago Marcos P. Santos <tmpsantos@gmail.com> | 2017-12-14 14:48:20 +0200 |
---|---|---|
committer | Thiago Marcos P. Santos <tmpsantos@gmail.com> | 2018-01-08 22:58:20 +0200 |
commit | f880baaeb73a196dfcc80786b37e0f7fb6730bd1 (patch) | |
tree | e50ad799954e09df64524f89e81ac51d65d29f20 /platform/qt | |
parent | af183f3952d851e66a6f9b9fc7bc256eab6383e5 (diff) | |
download | qtlocation-mapboxgl-f880baaeb73a196dfcc80786b37e0f7fb6730bd1.tar.gz |
[windows][qt] Remove std:: namespace of some functions
Not available on Windows.
Diffstat (limited to 'platform/qt')
-rw-r--r-- | platform/qt/src/sqlite3.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/qt/src/sqlite3.cpp b/platform/qt/src/sqlite3.cpp index 2f3db12f33..80efd6a326 100644 --- a/platform/qt/src/sqlite3.cpp +++ b/platform/qt/src/sqlite3.cpp @@ -354,7 +354,7 @@ template <> mbgl::Timestamp Statement::get(int offset) { QVariant value = impl->query.value(offset); checkQueryError(impl->query); return std::chrono::time_point_cast<std::chrono::seconds>( - std::chrono::system_clock::from_time_t(value.value<std::time_t>())); + std::chrono::system_clock::from_time_t(value.value<::time_t>())); } template <> optional<int64_t> Statement::get(int offset) { @@ -398,7 +398,7 @@ template <> optional<mbgl::Timestamp> Statement::get(int offset) { if (value.isNull()) return {}; return { std::chrono::time_point_cast<mbgl::Seconds>( - std::chrono::system_clock::from_time_t(value.value<std::time_t>())) }; + std::chrono::system_clock::from_time_t(value.value<::time_t>())) }; } void Statement::reset() { |