Some inline + remove useless const&.

This commit is contained in:
StackZ 2020-11-06 02:10:58 +01:00
commit ddbea3ab36
35 changed files with 186 additions and 228 deletions

View file

@ -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);