Add macro block end comment on large #if blocks

This commit is contained in:
Roelf-Jilling 2018-11-16 14:40:50 +01:00
parent 2238c4760e
commit 3e62f50737

View File

@ -139,7 +139,7 @@ namespace details
throw std::forward<Exception>(exception);
}
#endif
#endif // GSL_TERMINATE_ON_CONTRACT_VIOLATION
} // namespace details
} // namespace gsl
@ -160,7 +160,7 @@ namespace details
#define GSL_CONTRACT_CHECK(type, cond) GSL_ASSUME(cond)
#endif
#endif // GSL_THROW_ON_CONTRACT_VIOLATION
#define Expects(cond) GSL_CONTRACT_CHECK("Precondition", cond)
#define Ensures(cond) GSL_CONTRACT_CHECK("Postcondition", cond)