Merge pull request #1717 from ax3l/fix-storageClassFirst

static constexpr: storage class first
This commit is contained in:
Martin Hořeňovský 2019-08-07 09:23:47 +02:00 committed by GitHub
commit 7a6af7ba76
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -97,7 +97,7 @@ namespace Catch {
// 32kb for the alternate stack seems to be sufficient. However, this value // 32kb for the alternate stack seems to be sufficient. However, this value
// is experimentally determined, so that's not guaranteed. // is experimentally determined, so that's not guaranteed.
constexpr static std::size_t sigStackSize = 32768 >= MINSIGSTKSZ ? 32768 : MINSIGSTKSZ; static constexpr std::size_t sigStackSize = 32768 >= MINSIGSTKSZ ? 32768 : MINSIGSTKSZ;
static SignalDefs signalDefs[] = { static SignalDefs signalDefs[] = {
{ SIGINT, "SIGINT - Terminal interrupt signal" }, { SIGINT, "SIGINT - Terminal interrupt signal" },