Fixed the default

Accidentally flipped on the previous commit
This commit is contained in:
Herb Sutter 2020-12-18 12:53:36 -08:00
parent d5fc4efbf6
commit 60beb7a363

View File

@ -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
);