mirror of
https://github.com/microsoft/GSL.git
synced 2024-11-03 17:56:43 -05:00
Fixed the default
Accidentally flipped on the previous commit
This commit is contained in:
parent
d5fc4efbf6
commit
60beb7a363
@ -126,10 +126,10 @@ private:
|
||||
};
|
||||
|
||||
auto static Default = contract_group(
|
||||
#if defined GSL_TERMINATE_ON_CONTRACT_VIOLATION
|
||||
&gsl::details::terminate
|
||||
#else // if defined GSL_UNENFORCED_ON_CONTRACT_VIOLATION
|
||||
#if defined GSL_UNENFORCED_ON_CONTRACT_VIOLATION
|
||||
// use default == null handler
|
||||
#else // if defined GSL_TERMINATE_ON_CONTRACT_VIOLATION
|
||||
&gsl::details::terminate
|
||||
#endif
|
||||
);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user