vcpkg/ports/openmvs/fix-build-boost-1_77_0.patch

20 lines
565 B
Diff
Raw Normal View History

2021-09-28 08:12:39 +08:00
libs/Common/Common.cpp | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/libs/Common/Common.cpp b/libs/Common/Common.cpp
index 052951d..8dc404e 100644
--- a/libs/Common/Common.cpp
+++ b/libs/Common/Common.cpp
@@ -31,6 +31,11 @@ namespace boost {
ASSERT("boost exception thrown" == NULL);
exit(EXIT_FAILURE);
}
+ void throw_exception(std::exception const & e, boost::source_location const &) {
+ VERBOSE("exception thrown: %s", e.what());
+ ASSERT("boost exception thrown" == NULL);
+ exit(EXIT_FAILURE);
+ }
} // namespace boost
#endif
#endif