1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 03:08:13 +00:00

LibCrypto+Everywhere: Rename *BigInteger::to_base to to_base_deprecated

This commit is contained in:
Timothy Flynn 2023-01-13 10:52:17 -05:00 committed by Linus Groh
parent 63c814fa2f
commit 0ddc2e1f50
17 changed files with 24 additions and 24 deletions

View file

@ -51,14 +51,14 @@ SignedBigInteger SignedBigInteger::from_base(u16 N, StringView str)
return { move(unsigned_data), sign };
}
DeprecatedString SignedBigInteger::to_base(u16 N) const
DeprecatedString SignedBigInteger::to_base_deprecated(u16 N) const
{
StringBuilder builder;
if (m_sign)
builder.append('-');
builder.append(m_unsigned_data.to_base(N));
builder.append(m_unsigned_data.to_base_deprecated(N));
return builder.to_deprecated_string();
}