diff options
Diffstat (limited to 'platform')
-rw-r--r-- | platform/qt/src/sqlite3.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/platform/qt/src/sqlite3.cpp b/platform/qt/src/sqlite3.cpp index b339cb14fa..00ad178fdf 100644 --- a/platform/qt/src/sqlite3.cpp +++ b/platform/qt/src/sqlite3.cpp @@ -192,7 +192,6 @@ template void Statement::bind(int, int8_t); template void Statement::bind(int, int32_t); template void Statement::bind(int, int64_t); template void Statement::bind(int, uint8_t); -template void Statement::bind(int, bool); template <typename T> void Statement::bind(int offset, T value) { @@ -211,6 +210,11 @@ void Statement::bind(int offset, std::nullptr_t) { } template <> +void Statement::bind(int offset, bool value) { + bind(offset, static_cast<int>(value)); +} + +template <> void Statement::bind(int offset, mbgl::Timestamp value) { bind(offset, std::chrono::system_clock::to_time_t(value)); } |