You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
Remove uses of auto for better readability and online code reviews
The current code style guidelines forbid the use of `auto`. Some uses of `auto` are still present, such as in UWP code (which can't be currently tested) and macros (where removing `auto` isn't easy).
This commit is contained in:
@@ -121,7 +121,7 @@ static const uint8_t base64DecodeTable[128] = {
|
||||
};
|
||||
|
||||
uint8_t DecodeBase64(char ch) {
|
||||
const auto idx = static_cast<uint8_t>(ch);
|
||||
const uint8_t idx = static_cast<uint8_t>(ch);
|
||||
if (idx > 127) {
|
||||
return 255;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user