summaryrefslogtreecommitdiff
path: root/AK/Format.h
diff options
context:
space:
mode:
authorLucas CHOLLET <lucas.chollet@free.fr>2022-12-18 01:04:18 +0100
committerLinus Groh <mail@linusgroh.de>2023-01-06 16:05:13 +0100
commit25e39df7ba1554e14756541a12ace692c54c5e0e (patch)
tree78bbfec4ab96e66ddfda5791cde63d75f933f28a /AK/Format.h
parentb0ac88cf890a234606316d2d137355129ac76c1b (diff)
downloadserenity-25e39df7ba1554e14756541a12ace692c54c5e0e.zip
AK: Rename `StandardFormatter::Mode::Float` => `FixedPoint`
Diffstat (limited to 'AK/Format.h')
-rw-r--r--AK/Format.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/AK/Format.h b/AK/Format.h
index 9b46081814..6dfc1437cd 100644
--- a/AK/Format.h
+++ b/AK/Format.h
@@ -292,7 +292,7 @@ struct StandardFormatter {
Character,
String,
Pointer,
- Float,
+ FixedPoint,
Hexfloat,
HexfloatUppercase,
HexDump,
@@ -520,7 +520,7 @@ struct Formatter<FixedPoint<precision, Underlying>> : StandardFormatter {
{
u8 base;
bool upper_case;
- if (m_mode == Mode::Default || m_mode == Mode::Float) {
+ if (m_mode == Mode::Default || m_mode == Mode::FixedPoint) {
base = 10;
upper_case = false;
} else if (m_mode == Mode::Hexfloat) {