summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/HTML/TextMetrics.h
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibWeb/HTML/TextMetrics.h')
-rw-r--r--Userland/Libraries/LibWeb/HTML/TextMetrics.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWeb/HTML/TextMetrics.h b/Userland/Libraries/LibWeb/HTML/TextMetrics.h
index 8b3a064d23..13943b4ead 100644
--- a/Userland/Libraries/LibWeb/HTML/TextMetrics.h
+++ b/Userland/Libraries/LibWeb/HTML/TextMetrics.h
@@ -46,7 +46,7 @@ public:
void set_ideographic_baseline(double baseline) { m_ideographic_baseline = baseline; }
private:
- explicit TextMetrics() { }
+ explicit TextMetrics() = default;
double m_width { 0 };
double m_actual_bounding_box_left { 0 };