add Buffer::Iterator::INVALID_CODE_POINT constant

This commit is contained in:
josh committed 2016-12-28 13:24:52 -05:00
1 parent 929bda355f
commit 8df75f5ab0
2 files changed
+9 -4

No files matched your search

+6 -1
View File
@@ -14,6 +14,11 @@ public:
class Iterator
{
public:
enum : uint32_t
{
INVALID_CODE_POINT = 0xFFFFFFFFu,
};
Iterator(Buffer * buffer)
{
m_buffer = buffer;
@@ -51,7 +56,7 @@ public:
}
else
{
return 0xFFFFFFFFu;
return INVALID_CODE_POINT;
}
}
bool operator==(const Iterator & other) const