diff options
author | Tim Schumacher <timschumi@gmx.de> | 2022-12-07 15:47:44 +0100 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-12-15 13:28:29 +0000 |
commit | c6d71ca72757c1d69e608aa101e47818cf9991e1 (patch) | |
tree | a8dc8edf99e2776c8dfa513de26a5b67969303e9 /Meta/Lagom/Fuzzers | |
parent | c4f68bde570e654be749dc57a91a80e01d21f143 (diff) | |
download | serenity-c6d71ca72757c1d69e608aa101e47818cf9991e1.zip |
LibCore: Rename `MemoryStream` to `FixedMemoryStream`
This is to differentiate between the upcoming `AllocatingMemoryStream`,
which automatically allocates memory as needed instead of operating on a
static memory area.
Diffstat (limited to 'Meta/Lagom/Fuzzers')
-rw-r--r-- | Meta/Lagom/Fuzzers/FuzzBrotli.cpp | 2 | ||||
-rw-r--r-- | Meta/Lagom/Fuzzers/FuzzTar.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Meta/Lagom/Fuzzers/FuzzBrotli.cpp b/Meta/Lagom/Fuzzers/FuzzBrotli.cpp index 6011e664bd..142bdadc30 100644 --- a/Meta/Lagom/Fuzzers/FuzzBrotli.cpp +++ b/Meta/Lagom/Fuzzers/FuzzBrotli.cpp @@ -10,7 +10,7 @@ extern "C" int LLVMFuzzerTestOneInput(uint8_t const* data, size_t size) { - auto bufstream_result = Core::Stream::MemoryStream::construct({ data, size }); + auto bufstream_result = Core::Stream::FixedMemoryStream::construct({ data, size }); if (bufstream_result.is_error()) { dbgln("MemoryStream::construct() failed."); return 0; diff --git a/Meta/Lagom/Fuzzers/FuzzTar.cpp b/Meta/Lagom/Fuzzers/FuzzTar.cpp index c508faf3d0..ff529da4c0 100644 --- a/Meta/Lagom/Fuzzers/FuzzTar.cpp +++ b/Meta/Lagom/Fuzzers/FuzzTar.cpp @@ -12,7 +12,7 @@ extern "C" int LLVMFuzzerTestOneInput(uint8_t const* data, size_t size) { - auto input_stream_or_error = Core::Stream::MemoryStream::construct({ data, size }); + auto input_stream_or_error = Core::Stream::FixedMemoryStream::construct({ data, size }); if (input_stream_or_error.is_error()) return 0; |