Просмотр исходного кода

please notice!!!! default value of bool in tars struct set to false

ruanshudong 11 месяцев назад
Родитель
Сommit
300347852a
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      tools/tarsparse/element.cpp

+ 1 - 1
tools/tarsparse/element.cpp

@@ -70,7 +70,7 @@ string Builtin::def() const
     switch(_kind)
     {
     case Builtin::KindBool:
-        return "true";
+        return "false";
     case Builtin::KindByte:
     case Builtin::KindShort:
     case Builtin::KindInt: