Skip to content

Commit 87f4218

Browse files
committed
Fix Apple compiler error.
1 parent 61e61b0 commit 87f4218

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

native~/Runtime/src/TestReinteropImpl.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ bool TestReinteropImpl::CallThrowAnExceptionFromCppAndDontCatchIt(
2525

2626
bool TestReinteropImpl::ThrowCppStdException(
2727
const DotNet::CesiumForUnity::TestReinterop& instance) {
28-
throw std::exception("An exceptional hello from C++!");
28+
throw std::runtime_error("An exceptional hello from C++!");
2929
}
3030

3131
bool TestReinteropImpl::ThrowOtherCppExceptionType(

0 commit comments

Comments
 (0)