mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 13:28:11 +00:00
AK: Ignore "alternative" formatting of StringView instead of crashing
Jakt implements this in a different way, but it's a noop for StringViews anyway.
This commit is contained in:
parent
1cc8cdcd23
commit
ff038f306a
1 changed files with 0 additions and 2 deletions
|
@ -669,8 +669,6 @@ ErrorOr<void> Formatter<StringView>::format(FormatBuilder& builder, StringView v
|
||||||
{
|
{
|
||||||
if (m_sign_mode != FormatBuilder::SignMode::Default)
|
if (m_sign_mode != FormatBuilder::SignMode::Default)
|
||||||
VERIFY_NOT_REACHED();
|
VERIFY_NOT_REACHED();
|
||||||
if (m_alternative_form)
|
|
||||||
VERIFY_NOT_REACHED();
|
|
||||||
if (m_zero_pad)
|
if (m_zero_pad)
|
||||||
VERIFY_NOT_REACHED();
|
VERIFY_NOT_REACHED();
|
||||||
if (m_mode != Mode::Default && m_mode != Mode::String && m_mode != Mode::Character && m_mode != Mode::HexDump)
|
if (m_mode != Mode::Default && m_mode != Mode::String && m_mode != Mode::Character && m_mode != Mode::HexDump)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue