mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-29 11:07:16 +02:00
Everywhere: Stop using NonnullOwnPtrVector
Same as NonnullRefPtrVector: weird semantics, questionable benefits.
This commit is contained in:
Notes:
sideshowbarker
2024-07-17 05:06:13 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/359d6e7b0b
@@ -22,7 +22,7 @@ public:
|
||||
virtual ~WebAssemblyModuleObject() override = default;
|
||||
|
||||
size_t index() const { return m_index; }
|
||||
Wasm::Module const& module() const { return WebAssemblyObject::s_compiled_modules.at(m_index).module; }
|
||||
Wasm::Module const& module() const { return WebAssemblyObject::s_compiled_modules.at(m_index)->module; }
|
||||
|
||||
private:
|
||||
size_t m_index { 0 };
|
||||
|
||||
Reference in New Issue
Block a user