Another trial to fix the kInvalidIndex problem

This commit is contained in:
Milo Yip 2015-04-10 23:32:28 +08:00
parent c7bcdb9c0c
commit bd435f76ab

View File

@ -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_(),