diff options
Diffstat (limited to 'Userland/Libraries/LibSQL/Serializer.h')
-rw-r--r-- | Userland/Libraries/LibSQL/Serializer.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Userland/Libraries/LibSQL/Serializer.h b/Userland/Libraries/LibSQL/Serializer.h index ee250c92ee..8a2be68e3d 100644 --- a/Userland/Libraries/LibSQL/Serializer.h +++ b/Userland/Libraries/LibSQL/Serializer.h @@ -10,7 +10,6 @@ #include <AK/Debug.h> #include <AK/DeprecatedString.h> #include <AK/Format.h> -#include <AK/ScopeGuard.h> #include <LibSQL/Forward.h> #include <LibSQL/Heap.h> #include <string.h> @@ -155,9 +154,8 @@ private: StringBuilder builder; builder.appendff("{0} {1:04x} | ", prefix, sz); Vector<DeprecatedString> bytes; - for (auto ix = 0u; ix < sz; ++ix) { + for (auto ix = 0u; ix < sz; ++ix) bytes.append(DeprecatedString::formatted("{0:02x}", *(ptr + ix))); - } StringBuilder bytes_builder; bytes_builder.join(' ', bytes); builder.append(bytes_builder.to_deprecated_string()); |