mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-07 11:51:13 +00:00
Move constexpr arrays out of class definition.
GCC Linker doesn't seem to like this. llvm-svn: 296560
This commit is contained in:
parent
cf3512dc12
commit
0858c4cf4a
@ -124,10 +124,11 @@ private:
|
||||
BumpPtrAllocator Allocator;
|
||||
};
|
||||
|
||||
constexpr endianness Endians[] = { big, little, native };
|
||||
constexpr uint32_t NumEndians = llvm::array_lengthof(Endians);
|
||||
constexpr uint32_t NumStreams = 2 * NumEndians;
|
||||
|
||||
class BinaryStreamTest : public testing::Test {
|
||||
static constexpr endianness Endians[] = {big, little, native};
|
||||
static constexpr uint32_t NumEndians = llvm::array_lengthof(Endians);
|
||||
static constexpr uint32_t NumStreams = 2 * NumEndians;
|
||||
|
||||
public:
|
||||
BinaryStreamTest() {}
|
||||
|
Loading…
Reference in New Issue
Block a user