Commit c7bcdb9c authored by Milo Yip's avatar Milo Yip

Fix a clang/gcc linker error

static const member integer not working
parent e0743b2f
...@@ -31,7 +31,7 @@ public: ...@@ -31,7 +31,7 @@ public:
SizeType index; //!< A valid index if not equal to kInvalidIndex. SizeType index; //!< A valid index if not equal to kInvalidIndex.
}; };
static const SizeType kInvalidIndex = ~SizeType(0); enum { kInvalidIndex = ~SizeType(0) };
GenericPointer() GenericPointer()
: allocator_(), : allocator_(),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment