mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-20 03:20:18 +00:00
Update error.h
This commit is contained in:
parent
fc98c526ea
commit
736df8ad31
@ -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)...);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user