[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

@@ -110,10 +110,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);
const int err = sqlite3_busy_timeout(impl->db,
@@ -158,10 +154,6 @@ Statement &Statement::operator=(Statement &&other) {
Statement::~Statement() {
}
Statement::operator bool() const {
return impl.operator bool();
}
template <> void Statement::bind(int offset, std::nullptr_t) {
assert(impl);
impl->check(sqlite3_bind_null(impl->stmt, offset));