diff options
| author | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2021-04-25 16:40:58 +0200 |
|---|---|---|
| committer | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2021-04-26 14:59:28 +0200 |
| commit | 5d124c4a8f86176e8adafab3d3703f28e597cb12 (patch) | |
| tree | 2e0fdd8fc6f7318ed39b72f325c21dbe967f5445 /modules/fbx/fbx_parser/FBXUtil.cpp | |
| parent | 15a85fe9713668f8ba6143352fd27d419a96ba83 (diff) | |
| download | redot-engine-5d124c4a8f86176e8adafab3d3703f28e597cb12.tar.gz | |
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).
Diffstat (limited to 'modules/fbx/fbx_parser/FBXUtil.cpp')
| -rw-r--r-- | modules/fbx/fbx_parser/FBXUtil.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/fbx/fbx_parser/FBXUtil.cpp b/modules/fbx/fbx_parser/FBXUtil.cpp index 4295cb6f5e..1f14a69099 100644 --- a/modules/fbx/fbx_parser/FBXUtil.cpp +++ b/modules/fbx/fbx_parser/FBXUtil.cpp @@ -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; } |
