diff options
author | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2017-04-11 17:04:43 +0300 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2017-04-14 12:33:13 -0700 |
commit | 04a3a7383a0ced32b852a28337de56479a8af26a (patch) | |
tree | 9751aa5edd367d3344931241536d4249377f83ba /platform/qt | |
parent | ef99b108fe51d108e789a484acae1c6bc30464c7 (diff) | |
download | qtlocation-mapboxgl-04a3a7383a0ced32b852a28337de56479a8af26a.tar.gz |
[core] Remove unused bool() functions
Diffstat (limited to 'platform/qt')
-rw-r--r-- | platform/qt/src/sqlite3.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/platform/qt/src/sqlite3.cpp b/platform/qt/src/sqlite3.cpp index 3470c36910..8df279c25d 100644 --- a/platform/qt/src/sqlite3.cpp +++ b/platform/qt/src/sqlite3.cpp @@ -130,10 +130,6 @@ Database &Database::operator=(Database &&other) { Database::~Database() { } -Database::operator bool() const { - return impl.operator bool(); -} - void Database::setBusyTimeout(std::chrono::milliseconds timeout) { assert(impl); std::string timeoutStr = mbgl::util::toString(timeout.count()); @@ -191,11 +187,6 @@ Statement &Statement::operator=(Statement &&other) { Statement::~Statement() { } -Statement::operator bool() const { - assert(impl); - return impl.operator bool(); -} - template void Statement::bind(int, int64_t); template <typename T> |