[core] Remove unused bool() functions

This commit is contained in:
Bruno de Oliveira Abinader
2017-04-11 17:04:43 +03:00
committed by John Firebaugh
parent ef99b108fe
commit 04a3a7383a
4 changed files with 0 additions and 23 deletions

View File

@@ -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>