Skip to content

Commit

Permalink
Fix Apple compiler error.
Browse files Browse the repository at this point in the history
  • Loading branch information
kring committed Jan 24, 2025
1 parent 61e61b0 commit 87f4218
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion native~/Runtime/src/TestReinteropImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 87f4218

Please sign in to comment.