diff options
Diffstat (limited to 'Libraries/LibIPC/IEncoder.h')
-rw-r--r-- | Libraries/LibIPC/IEncoder.h | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/Libraries/LibIPC/IEncoder.h b/Libraries/LibIPC/IEncoder.h index a99c842f58..2057931294 100644 --- a/Libraries/LibIPC/IEncoder.h +++ b/Libraries/LibIPC/IEncoder.h @@ -118,26 +118,6 @@ public: return *this; } - Encoder& 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__ - Encoder& 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 - Encoder& operator<<(float value) { union bits { |