summaryrefslogtreecommitdiff
path: root/AK/BufferStream.h
diff options
context:
space:
mode:
Diffstat (limited to 'AK/BufferStream.h')
-rw-r--r--AK/BufferStream.h37
1 files changed, 0 insertions, 37 deletions
diff --git a/AK/BufferStream.h b/AK/BufferStream.h
index 653e36dc86..b9f2990877 100644
--- a/AK/BufferStream.h
+++ b/AK/BufferStream.h
@@ -297,43 +297,6 @@ public:
return *this;
}
- BufferStream& operator<<(size_t value)
- {
- if constexpr(sizeof(size_t) == 4)
- return *this << (u32)value;
- else if constexpr(sizeof(size_t) == 8)
- return *this << (u64)value;
- ASSERT_NOT_REACHED();
- }
- BufferStream& operator>>(size_t& value)
- {
- if constexpr(sizeof(size_t) == 4)
- return *this >> (u32&)value;
- else if constexpr(sizeof(size_t) == 8)
- return *this >> (u64&)value;
- ASSERT_NOT_REACHED();
- }
-
-#ifndef __i386__
- BufferStream& operator<<(ssize_t value)
- {
- if constexpr(sizeof(ssize_t) == 4)
- return *this << (i32)value;
- else if constexpr(sizeof(ssize_t) == 8)
- return *this << (i64)value;
- ASSERT_NOT_REACHED();
- }
- BufferStream& operator>>(ssize_t& value)
- {
- if constexpr(sizeof(ssize_t) == 4)
- return *this >> (i32&)value;
- else if constexpr(sizeof(ssize_t) == 8)
- return *this >> (i64&)value;
- ASSERT_NOT_REACHED();
- }
-#endif
-
-
BufferStream& operator<<(const char* value)
{
return *this << StringView(value);