فهرست منبع

Update error.h

blueloveTH 1 سال پیش
والد
کامیت
736df8ad31
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      include/pocketpy/error.h

+ 1 - 1
include/pocketpy/error.h

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