[core] Do not throw on dtors
Fix build on GCC6 + Ubuntu 16.04.
This commit is contained in:
committed by
Thiago Marcos P. Santos
parent
1a9bccbb85
commit
939864cb90
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user