From 1e1da36123c4520846e0318fcb71551573b54e18 Mon Sep 17 00:00:00 2001 From: Bruno de Oliveira Abinader Date: Thu, 11 May 2017 11:58:19 +0300 Subject: [tidy] modernize-use-equals-default --- platform/default/sqlite3.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'platform/default/sqlite3.cpp') diff --git a/platform/default/sqlite3.cpp b/platform/default/sqlite3.cpp index 4cbe1df775..0707f9255c 100644 --- a/platform/default/sqlite3.cpp +++ b/platform/default/sqlite3.cpp @@ -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); -- cgit v1.2.1