summaryrefslogtreecommitdiff
path: root/AK/LEB128.h
diff options
context:
space:
mode:
authorTim Schumacher <timschumi@gmx.de>2023-01-20 14:07:24 +0100
committerAndrew Kaster <andrewdkaster@gmail.com>2023-01-29 19:16:44 -0700
commitae64b68717c02b902721e861dbf51c5d32950193 (patch)
tree74e7205b629f9a51d0af3103ce9fabca1aeefe23 /AK/LEB128.h
parent230cb3b0cb9664839c56f80d6dff3706fffc2243 (diff)
downloadserenity-ae64b68717c02b902721e861dbf51c5d32950193.zip
AK: Deprecate the old `AK::Stream`
This also removes a few cases where the respective header wasn't actually required to be included.
Diffstat (limited to 'AK/LEB128.h')
-rw-r--r--AK/LEB128.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/AK/LEB128.h b/AK/LEB128.h
index 47b29f584d..f9258fd866 100644
--- a/AK/LEB128.h
+++ b/AK/LEB128.h
@@ -6,8 +6,8 @@
#pragma once
+#include <AK/DeprecatedStream.h>
#include <AK/NumericLimits.h>
-#include <AK/Stream.h>
#include <AK/Types.h>
namespace AK {
@@ -19,7 +19,7 @@ struct LEB128 {
[[maybe_unused]] size_t backup_offset = 0;
if constexpr (requires { stream.offset(); })
backup_offset = stream.offset();
- InputStream& input_stream { stream };
+ DeprecatedInputStream& input_stream { stream };
result = 0;
size_t num_bytes = 0;
@@ -62,7 +62,7 @@ struct LEB128 {
[[maybe_unused]] size_t backup_offset = 0;
if constexpr (requires { stream.offset(); })
backup_offset = stream.offset();
- InputStream& input_stream { stream };
+ DeprecatedInputStream& input_stream { stream };
i64 temp = 0;
size_t num_bytes = 0;