diff options
Diffstat (limited to 'Userland/Libraries/LibJS/SourceTextModule.h')
-rw-r--r-- | Userland/Libraries/LibJS/SourceTextModule.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Userland/Libraries/LibJS/SourceTextModule.h b/Userland/Libraries/LibJS/SourceTextModule.h index 28dea01f9b..c79f122bfa 100644 --- a/Userland/Libraries/LibJS/SourceTextModule.h +++ b/Userland/Libraries/LibJS/SourceTextModule.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021, Andreas Kling <kling@serenityos.org> + * Copyright (c) 2021-2023, Andreas Kling <kling@serenityos.org> * Copyright (c) 2022, David Tuin <davidot@serenityos.org> * * SPDX-License-Identifier: BSD-2-Clause @@ -36,7 +36,7 @@ private: SourceTextModule(Realm&, StringView filename, Script::HostDefined* host_defined, bool has_top_level_await, NonnullRefPtr<Program> body, Vector<ModuleRequest> requested_modules, Vector<ImportEntry> import_entries, Vector<ExportEntry> local_export_entries, Vector<ExportEntry> indirect_export_entries, Vector<ExportEntry> star_export_entries, - RefPtr<ExportStatement> default_export); + RefPtr<ExportStatement const> default_export); virtual void visit_edges(Cell::Visitor&) override; @@ -48,7 +48,7 @@ private: Vector<ExportEntry> m_indirect_export_entries; // [[IndirectExportEntries]] Vector<ExportEntry> m_star_export_entries; // [[StarExportEntries]] - RefPtr<ExportStatement> m_default_export; // Note: Not from the spec + RefPtr<ExportStatement const> m_default_export; // Note: Not from the spec }; } |