summaryrefslogtreecommitdiff
path: root/Kernel/KString.h
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/KString.h')
-rw-r--r--Kernel/KString.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/KString.h b/Kernel/KString.h
index bc2beef1bc..2639f9617b 100644
--- a/Kernel/KString.h
+++ b/Kernel/KString.h
@@ -24,7 +24,7 @@ public:
[[nodiscard]] static ErrorOr<NonnullOwnPtr<KString>> vformatted(StringView fmtstr, AK::TypeErasedFormatParams&);
template<typename... Parameters>
- [[nodiscard]] static ErrorOr<NonnullOwnPtr<KString>> formatted(CheckedFormatString<Parameters...>&& fmtstr, const Parameters&... parameters)
+ [[nodiscard]] static ErrorOr<NonnullOwnPtr<KString>> formatted(CheckedFormatString<Parameters...>&& fmtstr, Parameters const&... parameters)
{
AK::VariadicFormatParams variadic_format_parameters { parameters... };
return vformatted(fmtstr.view(), variadic_format_parameters);