Skip to content
Snippets Groups Projects
Commit f712af82 authored by Recolic's avatar Recolic :house_with_garden:
Browse files

u

parent 58babe38
No related branches found
No related tags found
No related merge requests found
Pipeline #902 passed with stage
in 8 minutes and 7 seconds
...@@ -16,7 +16,7 @@ inline char basic_int_to_char(uint8_t i) { ...@@ -16,7 +16,7 @@ inline char basic_int_to_char(uint8_t i) {
} }
inline uint8_t basic_char_to_int(char c) { inline uint8_t basic_char_to_int(char c) {
constexpr auto ls {"xA234567890JQK"sv}; constexpr auto ls {"xA234567890JQK"sv};
return ls.find(c); return ls.find(toupper(c));
} }
// This function is only efficent on small string. // This function is only efficent on small string.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment