diff options
author | John Firebaugh <john.firebaugh@gmail.com> | 2016-02-08 14:44:51 -0800 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2016-02-10 15:40:20 -0800 |
commit | 4bde1b0c88068914bbd1f14c85dbb51818de6ac9 (patch) | |
tree | df0584e417adbf7baf8634cc44dc89dfc767a553 /platform/default/sqlite3.hpp | |
parent | c91b44b02f658548bdc70a625eb54d0ea86f6737 (diff) | |
download | qtlocation-mapboxgl-4bde1b0c88068914bbd1f14c85dbb51818de6ac9.tar.gz |
[core] Explicit operator bool
Diffstat (limited to 'platform/default/sqlite3.hpp')
-rw-r--r-- | platform/default/sqlite3.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/default/sqlite3.hpp b/platform/default/sqlite3.hpp index cdfd5dc8de..56040af46e 100644 --- a/platform/default/sqlite3.hpp +++ b/platform/default/sqlite3.hpp @@ -39,7 +39,7 @@ public: ~Database(); Database &operator=(Database &&); - operator bool() const; + explicit operator bool() const; void exec(const std::string &sql); Statement prepare(const char *query); @@ -63,7 +63,7 @@ public: ~Statement(); Statement &operator=(Statement &&); - operator bool() const; + explicit operator bool() const; template <typename T> void bind(int offset, T value); |