mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-09-21 20:06:40 +00:00
Remove CStr::FromUInt
There is `std::to_string` which does the same. For most uses it's better to use `fmt::format`.
This commit is contained in:
@@ -202,13 +202,6 @@ CStr CStr::Repeat(const CStr& str, size_t reps)
|
||||
|
||||
// Construction from numbers:
|
||||
|
||||
CStr CStr::FromUInt(unsigned int n)
|
||||
{
|
||||
tstringstream<StrBase> ss;
|
||||
ss << n;
|
||||
return ss.str();
|
||||
}
|
||||
|
||||
CStr CStr::FromInt64(i64 n)
|
||||
{
|
||||
tstringstream<StrBase> ss;
|
||||
|
||||
Reference in New Issue
Block a user