mirror of
https://github.com/microsoft/GSL.git
synced 2025-08-03 12:44:29 +02:00
Fixed the default
Accidentally flipped on the previous commit
This commit is contained in:
@@ -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
|
||||
);
|
||||
|
||||
|
Reference in New Issue
Block a user