mirror of
https://github.com/debauchee/barrier.git
synced 2025-07-19 09:27:37 +02:00
Fixed error from merge
This commit is contained in:
parent
b4665b9cd5
commit
28eb85660f
8 changed files with 28 additions and 28 deletions
|
@ -184,7 +184,7 @@ removeFileExt(String filename)
|
|||
}
|
||||
|
||||
void
|
||||
toHex(CString& subject, int width, const char fill)
|
||||
toHex(String& subject, int width, const char fill)
|
||||
{
|
||||
std::stringstream ss;
|
||||
ss << std::hex;
|
||||
|
@ -196,13 +196,13 @@ toHex(CString& subject, int width, const char fill)
|
|||
}
|
||||
|
||||
void
|
||||
uppercase(CString& subject)
|
||||
uppercase(String& subject)
|
||||
{
|
||||
std::transform(subject.begin(), subject.end(), subject.begin(), ::toupper);
|
||||
}
|
||||
|
||||
void
|
||||
removeChar(CString& subject, const char c)
|
||||
removeChar(String& subject, const char c)
|
||||
{
|
||||
subject.erase(std::remove(subject.begin(), subject.end(), c), subject.end());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue