aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4exception.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/qml/jsruntime/qv4exception.cpp')
-rw-r--r--src/qml/jsruntime/qv4exception.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/qml/jsruntime/qv4exception.cpp b/src/qml/jsruntime/qv4exception.cpp
index f55dc949a9..8cee1535d4 100644
--- a/src/qml/jsruntime/qv4exception.cpp
+++ b/src/qml/jsruntime/qv4exception.cpp
@@ -98,6 +98,11 @@ void Exception::throwException(ExecutionContext *context, const ValueRef value)
}
#if !defined(V4_CXX_ABI_EXCEPTION)
+void Exception::rethrow()
+{
+ throw;
+}
+
struct DummyException
{};