1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 14:17:36 +00:00

Everywhere: Run clang-format

This commit is contained in:
Idan Horowitz 2022-04-01 20:58:27 +03:00 committed by Linus Groh
parent 0376c127f6
commit 086969277e
1665 changed files with 8479 additions and 8479 deletions

View file

@ -130,7 +130,7 @@ struct BMPLoadingContext {
};
State state { State::NotDecoded };
const u8* file_bytes { nullptr };
u8 const* file_bytes { nullptr };
size_t file_size { 0 };
u32 data_offset { 0 };
@ -167,7 +167,7 @@ struct BMPLoadingContext {
class InputStreamer {
public:
InputStreamer(const u8* data, size_t size)
InputStreamer(u8 const* data, size_t size)
: m_data_ptr(data)
, m_size_remaining(size)
{
@ -217,7 +217,7 @@ public:
size_t remaining() const { return m_size_remaining; }
private:
const u8* m_data_ptr { nullptr };
u8 const* m_data_ptr { nullptr };
size_t m_size_remaining { 0 };
};
@ -1300,7 +1300,7 @@ static bool decode_bmp_pixel_data(BMPLoadingContext& context)
return true;
}
BMPImageDecoderPlugin::BMPImageDecoderPlugin(const u8* data, size_t data_size)
BMPImageDecoderPlugin::BMPImageDecoderPlugin(u8 const* data, size_t data_size)
{
m_context = make<BMPLoadingContext>();
m_context->file_bytes = data;