diff --git a/Meta/Lagom/Tools/CodeGenerators/IPCCompiler/main.cpp b/Meta/Lagom/Tools/CodeGenerators/IPCCompiler/main.cpp index 03dba12c79..2a4781a015 100644 --- a/Meta/Lagom/Tools/CodeGenerators/IPCCompiler/main.cpp +++ b/Meta/Lagom/Tools/CodeGenerators/IPCCompiler/main.cpp @@ -779,7 +779,6 @@ void build(StringBuilder& builder, Vector const& endpoints) #include #include #include -#include #include #include #include diff --git a/Userland/Libraries/LibIPC/Decoder.cpp b/Userland/Libraries/LibIPC/Decoder.cpp index ea9870b812..fccfa96045 100644 --- a/Userland/Libraries/LibIPC/Decoder.cpp +++ b/Userland/Libraries/LibIPC/Decoder.cpp @@ -13,7 +13,6 @@ #include #include #include -#include #include #include @@ -84,21 +83,6 @@ ErrorOr decode(Decoder& decoder) return URL { url }; } -template<> -ErrorOr decode(Decoder& decoder) -{ - auto size = TRY(decoder.decode_size()); - Dictionary dictionary {}; - - for (size_t i = 0; i < size; ++i) { - auto key = TRY(decoder.decode()); - auto value = TRY(decoder.decode()); - dictionary.add(move(key), move(value)); - } - - return dictionary; -} - template<> ErrorOr decode(Decoder& decoder) { diff --git a/Userland/Libraries/LibIPC/Decoder.h b/Userland/Libraries/LibIPC/Decoder.h index 512a1bf2b7..f81c41fce7 100644 --- a/Userland/Libraries/LibIPC/Decoder.h +++ b/Userland/Libraries/LibIPC/Decoder.h @@ -99,9 +99,6 @@ ErrorOr