diff options
author | Thiago Marcos P. Santos <thiago@mapbox.com> | 2017-03-27 17:54:46 +0300 |
---|---|---|
committer | Thiago Marcos P. Santos <tmpsantos@gmail.com> | 2017-04-01 12:57:06 +0300 |
commit | 939864cb901fa35c41e7a04e93988cf746e921a6 (patch) | |
tree | a29ce2e0046d2f3ad7323ab86194d986fb77f14a /platform/default | |
parent | 1a9bccbb850c637583c18e7409e3b87a0dd9ff79 (diff) | |
download | qtlocation-mapboxgl-939864cb901fa35c41e7a04e93988cf746e921a6.tar.gz |
[core] Do not throw on dtors
Fix build on GCC6 + Ubuntu 16.04.
Diffstat (limited to 'platform/default')
-rw-r--r-- | platform/default/sqlite3.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/default/sqlite3.cpp b/platform/default/sqlite3.cpp index 498ac02b2e..e33e7480a7 100644 --- a/platform/default/sqlite3.cpp +++ b/platform/default/sqlite3.cpp @@ -30,7 +30,7 @@ public: const int error = sqlite3_close(db); if (error != SQLITE_OK) { - throw Exception { error, sqlite3_errmsg(db) }; + mbgl::Log::Error(mbgl::Event::Database, "%s (Code %i)", sqlite3_errmsg(db), error); } } |