summaryrefslogtreecommitdiff
path: root/Userland/Applications
diff options
context:
space:
mode:
authorGunnar Beutner <gbeutner@serenityos.org>2021-07-04 11:08:46 +0200
committerAndreas Kling <kling@serenityos.org>2021-07-04 14:24:03 +0200
commit3bbe86d8ead537385de97728d11104cf51d742f5 (patch)
tree02fd1f3cac66ac12a7c2138ddb1ba8e39a83878e /Userland/Applications
parentea8ff03475181466e15659c599af9edfed92a0fe (diff)
downloadserenity-3bbe86d8ead537385de97728d11104cf51d742f5.zip
Everywhere: Prefer using "..."sv over StringView { "..." }
Diffstat (limited to 'Userland/Applications')
-rw-r--r--Userland/Applications/Calculator/Keypad.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Applications/Calculator/Keypad.cpp b/Userland/Applications/Calculator/Keypad.cpp
index 2991c82632..243a895f11 100644
--- a/Userland/Applications/Calculator/Keypad.cpp
+++ b/Userland/Applications/Calculator/Keypad.cpp
@@ -158,7 +158,7 @@ String Keypad::to_string() const
if (m_frac_length > 0) {
// FIXME: This disables the compiletime format string check since we can't parse '}}' here correctly.
// remove the 'StringView { }' when that's fixed.
- builder.appendff(StringView { "{:0{}}" }, m_frac_value.value(), m_frac_length);
+ builder.appendff("{:0{}}"sv, m_frac_value.value(), m_frac_length);
}
return builder.to_string();