mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-30 01:03:30 +01:00
static constexpr: storage class first
Seen with PGI compiler for `static constexpr`: ``` warning: storage class is not first ```
This commit is contained in:
parent
6070745cab
commit
820b1f12bf
@ -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" },
|
||||||
|
Loading…
Reference in New Issue
Block a user