Make Eof() consistent with other streams

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36298 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Michael Wetherell
2005-11-30 12:41:48 +00:00
parent 4d53859584
commit 8e50d1add6
4 changed files with 10 additions and 14 deletions

View File

@@ -88,11 +88,6 @@ char wxMemoryInputStream::Peek()
return buf[pos];
}
bool wxMemoryInputStream::Eof() const
{
return !m_i_streambuf->GetBytesLeft();
}
size_t wxMemoryInputStream::OnSysRead(void *buffer, size_t nbytes)
{
size_t pos = m_i_streambuf->GetIntPosition();