Skip to content

Commit 4b40386

Browse files
committed
Update a static assert for windows
1 parent 74051bb commit 4b40386

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/from_current.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ namespace detail {
120120
};
121121

122122
catchable_type_info get_catchable_types(const EXCEPTION_RECORD* exception_record) {
123-
static_assert(EXCEPTION_MAXIMUM_PARAMETERS >= 4);
123+
static_assert(EXCEPTION_MAXIMUM_PARAMETERS >= 4, "Unexpected EXCEPTION_MAXIMUM_PARAMETERS");
124124
// ExceptionInformation will contain
125125
// [0] EH_MAGIC_NUMBER1
126126
// [1] ExceptionObject

0 commit comments

Comments
 (0)