mirror of
https://github.com/sesps/SPS_SABRE_EventBuilder.git
synced 2024-11-22 18:18:52 -05:00
Fix bug in CompassFile. Previous edge case where channel data file was empty needed to be updated for new case where channel data file only contains the header.
This commit is contained in:
parent
2b00d4e80c
commit
60970e52bb
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -3,6 +3,7 @@ pics/
|
|||
images/
|
||||
build/
|
||||
objs/
|
||||
.vscode/
|
||||
|
||||
###file types to ignore###
|
||||
*.swp
|
||||
|
|
|
@ -47,7 +47,7 @@ namespace EventBuilder {
|
|||
|
||||
m_file->seekg(0, std::ios_base::end);
|
||||
m_size = m_file->tellg();
|
||||
if(m_size == 0)
|
||||
if(m_size == 2)
|
||||
{
|
||||
m_eofFlag = true;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user