mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 10:41:50 +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; }
|
const std::string& GetFilename() const { return m_filename; }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
Loading…
Reference in New Issue
Block a user