Explorar o código

Update parser.h

blueloveTH %!s(int64=3) %!d(string=hai) anos
pai
achega
c2d451695c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/parser.h

+ 1 - 1
src/parser.h

@@ -231,7 +231,7 @@ struct Parser {
             return 0;
             return 0;
         }
         }
 
 
-        if(kTokenKwMap.count(name)){
+        if(kTokenKwMap.contains(name)){
             if(name == "not"){
             if(name == "not"){
                 if(strncmp(curr_char, " in", 3) == 0){
                 if(strncmp(curr_char, " in", 3) == 0){
                     curr_char += 3;
                     curr_char += 3;