Implements toint function
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2019-07-04 17:18:07 +02:00
parent 5e02b6b389
commit 0446c1098b
4 changed files with 31 additions and 1 deletions

View File

@@ -127,7 +127,7 @@ namespace Porygon::Parser {
}
}
int CharToInt(char16_t c) {
static int CharToInt(char16_t c) {
switch (c) {
case '0':
return 0;