[tidy] modernize-use-equals-default

This commit is contained in:
Bruno de Oliveira Abinader
2017-05-11 11:58:19 +03:00
parent bd7fb64bae
commit 1e1da36123
6 changed files with 7 additions and 12 deletions

View File

@@ -107,8 +107,7 @@ Database &Database::operator=(Database &&other) {
return *this;
}
Database::~Database() {
}
Database::~Database() = default;
void Database::setBusyTimeout(std::chrono::milliseconds timeout) {
assert(impl);
@@ -151,8 +150,7 @@ Statement &Statement::operator=(Statement &&other) {
return *this;
}
Statement::~Statement() {
}
Statement::~Statement() = default;
template <> void Statement::bind(int offset, std::nullptr_t) {
assert(impl);