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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user