Skip to content

Commit 06730e3

Browse files
authored
Fix duplicate symbol cpp2::Uncaught_exceptions() (#217)
1 parent a0c8f1d commit 06730e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/cpp2util.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,7 @@ auto assert_in_bounds(auto&& x, auto&& arg CPP2_SOURCE_LOCATION_PARAM_WITH_DEFAU
408408
#endif
409409
}
410410

411-
auto Uncaught_exceptions() -> int {
411+
inline auto Uncaught_exceptions() -> int {
412412
#ifdef CPP2_NO_EXCEPTIONS
413413
return 0;
414414
#else

0 commit comments

Comments
 (0)