Rename check method to be able to be included in UE4.

This commit is contained in:
lzwdgc 2020-12-08 18:42:34 +03:00
parent 58e1c6eafb
commit 3640d875f6
2 changed files with 2 additions and 2 deletions

View file

@ -165,7 +165,7 @@ void buffer::seek(uint32_t size) const
skip(size);
}
bool buffer::check(int index) const
bool buffer::check_pos(int index) const
{
return index_ == index;
}

View file

@ -119,7 +119,7 @@ public:
void skip(int n) const;
uint32_t end() const { return end_; }
bool eof() const;
bool check(int index) const;
bool check_pos(int index) const;
void reset() const;
uint32_t index() const;