[core] Fix modernize-use-equals-default errors

As reported by clang-tidy-8.
This commit is contained in:
Thiago Marcos P. Santos
2020-03-20 12:38:09 +02:00
parent 02e91428fd
commit 23a248eacd
2 changed files with 2 additions and 2 deletions

View File

@@ -187,6 +187,7 @@ Statement::Statement(Database& db, const char* sql)
: impl(std::make_unique<StatementImpl>(db.impl->db, sql)) {
}
// NOLINTNEXTLINE(modernize-use-equals-default)
Statement::~Statement() {
#ifndef NDEBUG
// Crash if we're destructing this object while we know a Query object references this.

View File

@@ -7,8 +7,7 @@ class LocalGlyphRasterizer::Impl {
LocalGlyphRasterizer::LocalGlyphRasterizer(const optional<std::string>&) {}
LocalGlyphRasterizer::~LocalGlyphRasterizer()
{}
LocalGlyphRasterizer::~LocalGlyphRasterizer() = default;
bool LocalGlyphRasterizer::canRasterizeGlyph(const FontStack&, GlyphID) {
return false;