Some inline + remove useless const&.
This commit is contained in:
parent
689192e902
commit
ddbea3ab36
35 changed files with 186 additions and 228 deletions
|
|
@ -64,7 +64,7 @@ std::string StringUtils::FetchStringsFromVector(const std::vector<std::string> &
|
|||
/*
|
||||
adapted from GM9i's byte parsing.
|
||||
*/
|
||||
std::string StringUtils::formatBytes(const int bytes) {
|
||||
std::string StringUtils::formatBytes(int bytes) {
|
||||
char out[32];
|
||||
|
||||
if (bytes == 1) snprintf(out, sizeof(out), "%d Byte", bytes);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue