Commit 5887a4b
committed
genoffsets: Remove constexpr on PORT_OFFSETS array
Not sure why CLang doesn't allow this to be constexpr while GCC does,
let's figure out later why this is the case.
Error message:
src/dynports.cc:13:45: error: constexpr variable cannot have
non-literal type 'const std::array<uint16_t, 4576>' (aka 'const
array<unsigned short, 4576>')
static constexpr std::array<uint16_t, 4576> PORT_OFFSETS {{
^
Signed-off-by: aszlig <aszlig@nix.build>1 parent 5911036 commit 5887a4b
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| |||
0 commit comments