From 87f4218562af90e6fe331d4df1045551b71ed9a8 Mon Sep 17 00:00:00 2001 From: Kevin Ring Date: Sat, 25 Jan 2025 09:24:50 +1100 Subject: [PATCH] Fix Apple compiler error. --- native~/Runtime/src/TestReinteropImpl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/native~/Runtime/src/TestReinteropImpl.cpp b/native~/Runtime/src/TestReinteropImpl.cpp index 1e2e4372..ea720ea4 100644 --- a/native~/Runtime/src/TestReinteropImpl.cpp +++ b/native~/Runtime/src/TestReinteropImpl.cpp @@ -25,7 +25,7 @@ bool TestReinteropImpl::CallThrowAnExceptionFromCppAndDontCatchIt( bool TestReinteropImpl::ThrowCppStdException( const DotNet::CesiumForUnity::TestReinterop& instance) { - throw std::exception("An exceptional hello from C++!"); + throw std::runtime_error("An exceptional hello from C++!"); } bool TestReinteropImpl::ThrowOtherCppExceptionType(