diff options
Diffstat (limited to 'Userland/Libraries/LibJS/Runtime/Temporal/Calendar.h')
-rw-r--r-- | Userland/Libraries/LibJS/Runtime/Temporal/Calendar.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibJS/Runtime/Temporal/Calendar.h b/Userland/Libraries/LibJS/Runtime/Temporal/Calendar.h index fe2c9bd13c..653d37b175 100644 --- a/Userland/Libraries/LibJS/Runtime/Temporal/Calendar.h +++ b/Userland/Libraries/LibJS/Runtime/Temporal/Calendar.h @@ -20,7 +20,7 @@ public: Calendar(String identifier, Object& prototype); virtual ~Calendar() override = default; - String const& identifier() const { return m_identifier; } + [[nodiscard]] String const& identifier() const { return m_identifier; } private: // 12.5 Properties of Temporal.Calendar Instances, https://tc39.es/proposal-temporal/#sec-properties-of-temporal-calendar-instances |