summaryrefslogtreecommitdiff
path: root/core/fxge
diff options
context:
space:
mode:
Diffstat (limited to 'core/fxge')
-rw-r--r--core/fxge/fx_font.h2
-rw-r--r--core/fxge/ifx_systemfontinfo.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/core/fxge/fx_font.h b/core/fxge/fx_font.h
index f2550d0488..c617376757 100644
--- a/core/fxge/fx_font.h
+++ b/core/fxge/fx_font.h
@@ -81,7 +81,7 @@ class CFX_GlyphBitmap {
inline CFX_GlyphBitmap::CFX_GlyphBitmap()
: m_pBitmap(pdfium::MakeRetain<CFX_DIBitmap>()) {}
-inline CFX_GlyphBitmap::~CFX_GlyphBitmap() {}
+inline CFX_GlyphBitmap::~CFX_GlyphBitmap() = default;
class FXTEXT_GLYPHPOS {
public:
diff --git a/core/fxge/ifx_systemfontinfo.h b/core/fxge/ifx_systemfontinfo.h
index b6d6626552..391baa2cdd 100644
--- a/core/fxge/ifx_systemfontinfo.h
+++ b/core/fxge/ifx_systemfontinfo.h
@@ -20,7 +20,7 @@ class IFX_SystemFontInfo {
static std::unique_ptr<IFX_SystemFontInfo> CreateDefault(
const char** pUserPaths);
- virtual ~IFX_SystemFontInfo() {}
+ virtual ~IFX_SystemFontInfo() = default;
virtual bool EnumFontList(CFX_FontMapper* pMapper) = 0;
virtual void* MapFont(int weight,