Fix a clang/gcc linker error
static const member integer not working
This commit is contained in:
parent
e0743b2fb0
commit
c7bcdb9c0c
@ -31,7 +31,7 @@ public:
|
||||
SizeType index; //!< A valid index if not equal to kInvalidIndex.
|
||||
};
|
||||
|
||||
static const SizeType kInvalidIndex = ~SizeType(0);
|
||||
enum { kInvalidIndex = ~SizeType(0) };
|
||||
|
||||
GenericPointer()
|
||||
: allocator_(),
|
||||
|
Loading…
x
Reference in New Issue
Block a user