Skip to content

Commit

Permalink
Add virtual destructor
Browse files Browse the repository at this point in the history
  • Loading branch information
Werni2A committed Jul 21, 2024
1 parent 6c8403f commit be0a83a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/DataStream.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ class DataStream : public std::ifstream
{
}

virtual ~DataStream()
{
}

// Checks whether the stream has reached the end of the file.
// I.e. reading another Byte would result in an error.
bool isEoF()
Expand Down

0 comments on commit be0a83a

Please sign in to comment.