summaryrefslogtreecommitdiff
path: root/AK/Endian.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/Endian.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/Endian.h')
-rw-r--r--AK/Endian.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/AK/Endian.h b/AK/Endian.h
index bfa64b9777..92bf739ceb 100644
--- a/AK/Endian.h
+++ b/AK/Endian.h
@@ -80,16 +80,16 @@ template<typename T>
class LittleEndian;
template<typename T>
-InputStream& operator>>(InputStream&, LittleEndian<T>&);
+DeprecatedInputStream& operator>>(DeprecatedInputStream&, LittleEndian<T>&);
template<typename T>
-OutputStream& operator<<(OutputStream&, LittleEndian<T>);
+DeprecatedOutputStream& operator<<(DeprecatedOutputStream&, LittleEndian<T>);
template<typename T>
class [[gnu::packed]] LittleEndian {
public:
- friend InputStream& operator>><T>(InputStream&, LittleEndian<T>&);
- friend OutputStream& operator<< <T>(OutputStream&, LittleEndian<T>);
+ friend DeprecatedInputStream& operator>><T>(DeprecatedInputStream&, LittleEndian<T>&);
+ friend DeprecatedOutputStream& operator<< <T>(DeprecatedOutputStream&, LittleEndian<T>);
constexpr LittleEndian() = default;
@@ -112,16 +112,16 @@ template<typename T>
class BigEndian;
template<typename T>
-InputStream& operator>>(InputStream&, BigEndian<T>&);
+DeprecatedInputStream& operator>>(DeprecatedInputStream&, BigEndian<T>&);
template<typename T>
-OutputStream& operator<<(OutputStream&, BigEndian<T>);
+DeprecatedOutputStream& operator<<(DeprecatedOutputStream&, BigEndian<T>);
template<typename T>
class [[gnu::packed]] BigEndian {
public:
- friend InputStream& operator>><T>(InputStream&, BigEndian<T>&);
- friend OutputStream& operator<< <T>(OutputStream&, BigEndian<T>);
+ friend DeprecatedInputStream& operator>><T>(DeprecatedInputStream&, BigEndian<T>&);
+ friend DeprecatedOutputStream& operator<< <T>(DeprecatedOutputStream&, BigEndian<T>);
constexpr BigEndian() = default;