mirror of
https://github.com/wolfpld/tracy
synced 2025-04-29 04:23:51 +00:00
FileRead::IsEOF() is no longer used.
This commit is contained in:
parent
cc805b7b74
commit
3b345aab37
@ -192,17 +192,6 @@ public:
|
||||
}
|
||||
}
|
||||
|
||||
bool IsEOF()
|
||||
{
|
||||
if( m_lastBlock != BufSize && m_offset == m_lastBlock ) return true;
|
||||
if( m_offset == BufSize )
|
||||
{
|
||||
if( fseek( m_file, 1, SEEK_CUR ) != 0 ) return true;
|
||||
fseek( m_file, -1, SEEK_CUR );
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
const std::string& GetFilename() const { return m_filename; }
|
||||
|
||||
private:
|
||||
|
Loading…
x
Reference in New Issue
Block a user