summaryrefslogtreecommitdiff
path: root/Userland/Utilities/js.cpp
diff options
context:
space:
mode:
authorIdan Horowitz <idan.horowitz@gmail.com>2022-04-01 20:58:27 +0300
committerLinus Groh <mail@linusgroh.de>2022-04-01 21:24:45 +0100
commit086969277e74d8ba065bf8145d3aeb0dec0bfee5 (patch)
tree02b3699a66735ef806d9b46353491f18f8e4e7b4 /Userland/Utilities/js.cpp
parent0376c127f6e98e03607700d0b3f5154b7014b2f8 (diff)
downloadserenity-086969277e74d8ba065bf8145d3aeb0dec0bfee5.zip
Everywhere: Run clang-format
Diffstat (limited to 'Userland/Utilities/js.cpp')
-rw-r--r--Userland/Utilities/js.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Utilities/js.cpp b/Userland/Utilities/js.cpp
index 25423b4641..961b6e5449 100644
--- a/Userland/Utilities/js.cpp
+++ b/Userland/Utilities/js.cpp
@@ -229,7 +229,7 @@ static String strip_ansi(StringView format_string)
}
template<typename... Parameters>
-static void js_out(CheckedFormatString<Parameters...>&& fmtstr, const Parameters&... parameters)
+static void js_out(CheckedFormatString<Parameters...>&& fmtstr, Parameters const&... parameters)
{
if (!s_strip_ansi)
return out(move(fmtstr), parameters...);
@@ -238,7 +238,7 @@ static void js_out(CheckedFormatString<Parameters...>&& fmtstr, const Parameters
}
template<typename... Parameters>
-static void js_outln(CheckedFormatString<Parameters...>&& fmtstr, const Parameters&... parameters)
+static void js_outln(CheckedFormatString<Parameters...>&& fmtstr, Parameters const&... parameters)
{
if (!s_strip_ansi)
return outln(move(fmtstr), parameters...);