diff options
author | Idan Horowitz <idan.horowitz@gmail.com> | 2022-04-01 20:58:27 +0300 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-04-01 21:24:45 +0100 |
commit | 086969277e74d8ba065bf8145d3aeb0dec0bfee5 (patch) | |
tree | 02b3699a66735ef806d9b46353491f18f8e4e7b4 /AK/Hex.cpp | |
parent | 0376c127f6e98e03607700d0b3f5154b7014b2f8 (diff) | |
download | serenity-086969277e74d8ba065bf8145d3aeb0dec0bfee5.zip |
Everywhere: Run clang-format
Diffstat (limited to 'AK/Hex.cpp')
-rw-r--r-- | AK/Hex.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/AK/Hex.cpp b/AK/Hex.cpp index dfd0d410ef..666dcdf70d 100644 --- a/AK/Hex.cpp +++ b/AK/Hex.cpp @@ -21,11 +21,11 @@ ErrorOr<ByteBuffer> decode_hex(StringView input) auto output = TRY(ByteBuffer::create_zeroed(input.length() / 2)); for (size_t i = 0; i < input.length() / 2; ++i) { - const auto c1 = decode_hex_digit(input[i * 2]); + auto const c1 = decode_hex_digit(input[i * 2]); if (c1 >= 16) return Error::from_string_literal("Hex string contains invalid digit"); - const auto c2 = decode_hex_digit(input[i * 2 + 1]); + auto const c2 = decode_hex_digit(input[i * 2 + 1]); if (c2 >= 16) return Error::from_string_literal("Hex string contains invalid digit"); |