summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibJS/Runtime/Intl/DisplayNames.h
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibJS/Runtime/Intl/DisplayNames.h')
-rw-r--r--Userland/Libraries/LibJS/Runtime/Intl/DisplayNames.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Userland/Libraries/LibJS/Runtime/Intl/DisplayNames.h b/Userland/Libraries/LibJS/Runtime/Intl/DisplayNames.h
index 23be399f5a..b9b677e2f6 100644
--- a/Userland/Libraries/LibJS/Runtime/Intl/DisplayNames.h
+++ b/Userland/Libraries/LibJS/Runtime/Intl/DisplayNames.h
@@ -39,7 +39,6 @@ class DisplayNames final : public Object {
};
public:
- DisplayNames(Object& prototype);
virtual ~DisplayNames() override = default;
String const& locale() const { return m_locale; }
@@ -63,6 +62,8 @@ public:
StringView language_display_string() const;
private:
+ DisplayNames(Object& prototype);
+
String m_locale; // [[Locale]]
Unicode::Style m_style { Unicode::Style::Long }; // [[Style]]
Type m_type { Type::Invalid }; // [[Type]]