Commit bd435f76 authored by Milo Yip's avatar Milo Yip

Another trial to fix the kInvalidIndex problem

parent c7bcdb9c
......@@ -31,7 +31,7 @@ public:
SizeType index; //!< A valid index if not equal to kInvalidIndex.
};
enum { kInvalidIndex = ~SizeType(0) };
static const SizeType kInvalidIndex = -1;
GenericPointer()
: 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