summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--platform/default/src/mbgl/storage/sqlite3.cpp1
-rw-r--r--platform/default/src/mbgl/text/local_glyph_rasterizer.cpp3
2 files changed, 2 insertions, 2 deletions
diff --git a/platform/default/src/mbgl/storage/sqlite3.cpp b/platform/default/src/mbgl/storage/sqlite3.cpp
index 3eb5194e2c..69d03c4e00 100644
--- a/platform/default/src/mbgl/storage/sqlite3.cpp
+++ b/platform/default/src/mbgl/storage/sqlite3.cpp
@@ -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.
diff --git a/platform/default/src/mbgl/text/local_glyph_rasterizer.cpp b/platform/default/src/mbgl/text/local_glyph_rasterizer.cpp
index 6eea2f94d8..1aea1857fd 100644
--- a/platform/default/src/mbgl/text/local_glyph_rasterizer.cpp
+++ b/platform/default/src/mbgl/text/local_glyph_rasterizer.cpp
@@ -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;