diff options
author | Kenneth Myhra <kennethmyhra@gmail.com> | 2022-08-01 21:36:02 +0200 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-08-02 08:20:40 +0100 |
commit | 1e5d107649d0ef5f14b1c8831788a8b7dd77bf05 (patch) | |
tree | 459b62932c8892333dcd2ea2bf5c0e97cec84452 /Userland | |
parent | c8c5f05de537c7934d659fe175035f097896d85d (diff) | |
download | serenity-1e5d107649d0ef5f14b1c8831788a8b7dd77bf05.zip |
LibWeb: Declare variable with the auto keyword
Use the auto keyword instead of the full type name like we do elsewhere
in the codebase.
Diffstat (limited to 'Userland')
-rw-r--r-- | Userland/Libraries/LibWeb/FileAPI/Blob.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWeb/FileAPI/Blob.cpp b/Userland/Libraries/LibWeb/FileAPI/Blob.cpp index f280427fbf..9487334ce9 100644 --- a/Userland/Libraries/LibWeb/FileAPI/Blob.cpp +++ b/Userland/Libraries/LibWeb/FileAPI/Blob.cpp @@ -129,7 +129,7 @@ DOM::ExceptionOr<NonnullRefPtr<Blob>> Blob::create(Optional<Vector<BlobPart>> co byte_buffer = TRY_OR_RETURN_OOM(process_blob_parts(blob_parts.value(), options)); } - String type = String::empty(); + auto type = String::empty(); // 3. If the type member of the options argument is not the empty string, run the following sub-steps: if (options.has_value() && !options->type.is_empty()) { // 1. If the type member is provided and is not the empty string, let t be set to the type dictionary member. |