Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]>
- Loading branch information