diff options
Diffstat (limited to 'Userland/Libraries/LibGfx')
-rw-r--r-- | Userland/Libraries/LibGfx/PNGWriter.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/Userland/Libraries/LibGfx/PNGWriter.cpp b/Userland/Libraries/LibGfx/PNGWriter.cpp index efd47d83f0..07f34076d9 100644 --- a/Userland/Libraries/LibGfx/PNGWriter.cpp +++ b/Userland/Libraries/LibGfx/PNGWriter.cpp @@ -31,9 +31,6 @@ public: template<typename T> ErrorOr<void> add_as_big_endian(T); - template<typename T> - ErrorOr<void> add_as_little_endian(T); - ErrorOr<void> add_u8(u8); ErrorOr<void> compress_and_add(ReadonlyBytes); @@ -96,14 +93,6 @@ ErrorOr<void> PNGChunk::add(ReadonlyBytes bytes) } template<typename T> -ErrorOr<void> PNGChunk::add_as_little_endian(T data) -{ - auto data_out = AK::convert_between_host_and_little_endian(data); - TRY(add(data_out)); - return {}; -} - -template<typename T> ErrorOr<void> PNGChunk::add_as_big_endian(T data) { auto data_out = AK::convert_between_host_and_big_endian(data); |