LibJS: Mark [[HostDefined]] accessor on scripts as const

This commit is contained in:
networkException 2022-10-02 23:16:19 +02:00 committed by Andreas Kling
commit 5a3e079deb
Notes: sideshowbarker 2024-07-17 06:18:34 +09:00

View file

@ -32,7 +32,7 @@ public:
Realm& realm() { return *m_realm; }
Program const& parse_node() const { return *m_parse_node; }
HostDefined* host_defined() { return m_host_defined; }
HostDefined* host_defined() const { return m_host_defined; }
StringView filename() const { return m_filename; }
private: