mirror of
https://github.com/sesps/EventBuilder_Skeleton.git
synced 2025-01-29 16:58:51 -05:00
Fix bug with zero file size edge case now needing to be file contains only header case
This commit is contained in:
parent
0ad5d9cd30
commit
7ba80ed4aa
6
.gitignore
vendored
6
.gitignore
vendored
|
@ -1,8 +1,6 @@
|
|||
###directories to ignore###
|
||||
./rootfiles/
|
||||
./pics/
|
||||
./images/
|
||||
./hotfixes/
|
||||
.vscode/
|
||||
build/
|
||||
|
||||
###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