mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
quick check with linters
This commit is contained in:
parent
92f185ab51
commit
9522aedeec
55 changed files with 129 additions and 184 deletions
|
|
@ -269,7 +269,6 @@ std::string util::mangleid(uint64_t value) {
|
|||
// todo: use base64
|
||||
std::stringstream ss;
|
||||
ss << std::hex << value;
|
||||
std::string result(ss.str());
|
||||
return ss.str();
|
||||
}
|
||||
|
||||
|
|
@ -434,7 +433,7 @@ std::string util::format_data_size(size_t size) {
|
|||
" B", " KiB", " MiB", " GiB", " TiB", " EiB", " PiB"
|
||||
};
|
||||
int group = 0;
|
||||
size_t remainder;
|
||||
size_t remainder = 0;
|
||||
while (size >= 1024) {
|
||||
group++;
|
||||
remainder = size % 1024;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue