Explorar o código

Update error.h

blueloveTH %!s(int64=2) %!d(string=hai) anos
pai
achega
736df8ad31
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      include/pocketpy/error.h

+ 1 - 1
include/pocketpy/error.h

@@ -70,7 +70,7 @@ struct Exception {
 
 
     template<typename... Args>
     template<typename... Args>
     void st_push(Args&&... args){
     void st_push(Args&&... args){
-        if(stacktrace.size() >= 8) return;
+        if(stacktrace.size() >= 7) return;
         stacktrace.emplace(std::forward<Args>(args)...);
         stacktrace.emplace(std::forward<Args>(args)...);
     }
     }