summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibJS/Runtime/Exception.h
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibJS/Runtime/Exception.h')
-rw-r--r--Userland/Libraries/LibJS/Runtime/Exception.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Libraries/LibJS/Runtime/Exception.h b/Userland/Libraries/LibJS/Runtime/Exception.h
index 885bb91105..69df020635 100644
--- a/Userland/Libraries/LibJS/Runtime/Exception.h
+++ b/Userland/Libraries/LibJS/Runtime/Exception.h
@@ -26,14 +26,14 @@ public:
virtual ~Exception() override = default;
Value value() const { return m_value; }
- const Vector<TracebackFrame>& traceback() const { return m_traceback; }
+ const Vector<TracebackFrame, 32>& traceback() const { return m_traceback; }
private:
virtual const char* class_name() const override { return "Exception"; }
virtual void visit_edges(Visitor&) override;
Value m_value;
- Vector<TracebackFrame> m_traceback;
+ Vector<TracebackFrame, 32> m_traceback;
};
}