diff --git a/Libraries/LibIPC/Decoder.cpp b/Libraries/LibIPC/Decoder.cpp index 2ed7b25a04c..a72ffc63620 100644 --- a/Libraries/LibIPC/Decoder.cpp +++ b/Libraries/LibIPC/Decoder.cpp @@ -9,7 +9,6 @@ #include #include #include -#include #include #include #include @@ -149,13 +148,6 @@ ErrorOr decode(Decoder& decoder) return Core::AnonymousBuffer::create_from_anon_fd(anon_file.take_fd(), size); } -template<> -ErrorOr decode(Decoder& decoder) -{ - auto timestamp = TRY(decoder.decode()); - return Core::DateTime::from_timestamp(static_cast(timestamp)); -} - template<> ErrorOr decode(Decoder& decoder) { diff --git a/Libraries/LibIPC/Encoder.cpp b/Libraries/LibIPC/Encoder.cpp index 07000dda4fe..d9e96cdce79 100644 --- a/Libraries/LibIPC/Encoder.cpp +++ b/Libraries/LibIPC/Encoder.cpp @@ -17,7 +17,6 @@ #include #include #include -#include #include #include #include @@ -181,12 +180,6 @@ ErrorOr encode(Encoder& encoder, Core::AnonymousBuffer const& buffer) return {}; } -template<> -ErrorOr encode(Encoder& encoder, Core::DateTime const& datetime) -{ - return encoder.encode(static_cast(datetime.timestamp())); -} - template<> ErrorOr encode(Encoder& encoder, Core::ProxyData const& proxy) {