[core] Remove unused bool() functions
This commit is contained in:
committed by
John Firebaugh
parent
ef99b108fe
commit
04a3a7383a
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user