Update error.h

This commit is contained in:
blueloveTH 2024-03-22 12:16:28 +08:00
parent fc98c526ea
commit 736df8ad31

View File

@ -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)...);
}