From 093cf428a3d7473f429a589f1573d9ac1c41d762 Mon Sep 17 00:00:00 2001 From: Tim Schumacher Date: Wed, 25 Jan 2023 20:19:05 +0100 Subject: AK: Move memory streams from `LibCore` --- Tests/LibWasm/test-wasm.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Tests/LibWasm/test-wasm.cpp') diff --git a/Tests/LibWasm/test-wasm.cpp b/Tests/LibWasm/test-wasm.cpp index e203c6486f..917d32b94c 100644 --- a/Tests/LibWasm/test-wasm.cpp +++ b/Tests/LibWasm/test-wasm.cpp @@ -4,7 +4,7 @@ * SPDX-License-Identifier: BSD-2-Clause */ -#include +#include #include #include #include @@ -106,7 +106,7 @@ TESTJS_GLOBAL_FUNCTION(parse_webassembly_module, parseWebAssemblyModule) if (!is(object)) return vm.throw_completion("Expected a Uint8Array argument to parse_webassembly_module"); auto& array = static_cast(*object); - auto stream = Core::Stream::FixedMemoryStream::construct(array.data()).release_value_but_fixme_should_propagate_errors(); + auto stream = FixedMemoryStream::construct(array.data()).release_value_but_fixme_should_propagate_errors(); auto result = Wasm::Module::parse(*stream); if (result.is_error()) return vm.throw_completion(Wasm::parse_error_to_deprecated_string(result.error())); -- cgit v1.2.3