diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2017-08-01 18:00:48 +0200 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2017-08-08 12:40:38 +0200 |
commit | f0a7c45064c3ce3f509b1c2035fcaa07ccc35a99 (patch) | |
tree | 5813cfe2fd8e72cbf06f45990351b7412146c398 /platform/default/sqlite3.cpp | |
parent | 68f470fdda4e31d7704fba3e41bb2f899db39541 (diff) | |
download | qtlocation-mapboxgl-f0a7c45064c3ce3f509b1c2035fcaa07ccc35a99.tar.gz |
[core] finish must-revalidate support
Diffstat (limited to 'platform/default/sqlite3.cpp')
-rw-r--r-- | platform/default/sqlite3.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/platform/default/sqlite3.cpp b/platform/default/sqlite3.cpp index 269c97716f..2e08354fdf 100644 --- a/platform/default/sqlite3.cpp +++ b/platform/default/sqlite3.cpp @@ -287,6 +287,11 @@ bool Statement::run() { } } +template <> bool Statement::get(int offset) { + assert(impl); + return sqlite3_column_int(impl->stmt, offset); +} + template <> int Statement::get(int offset) { assert(impl); return sqlite3_column_int(impl->stmt, offset); |