aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/utils
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2017-10-03 09:57:04 -0400
committerJack Lloyd <[email protected]>2017-10-03 09:57:04 -0400
commit26517eb98af4c3bb1faf38653ab55ae0956578eb (patch)
tree61ebd8ee9568369a4f2e6ff1806d47213f20032d /src/lib/utils
parent698f78182485587b6aa7773a43beac9033064e89 (diff)
Avoid empty methods, use =default or add a comment
Sonar
Diffstat (limited to 'src/lib/utils')
-rw-r--r--src/lib/utils/database.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/utils/database.h b/src/lib/utils/database.h
index eb59cc376..a90e9fbfd 100644
--- a/src/lib/utils/database.h
+++ b/src/lib/utils/database.h
@@ -51,7 +51,7 @@ class BOTAN_PUBLIC_API(2,0) SQL_Database
/* Maybe update */
virtual bool step() = 0;
- virtual ~Statement() {}
+ virtual ~Statement() = default;
};
/*
@@ -64,7 +64,7 @@ class BOTAN_PUBLIC_API(2,0) SQL_Database
virtual void create_table(const std::string& table_schema) = 0;
- virtual ~SQL_Database() {}
+ virtual ~SQL_Database() = default;
};
}