You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FFStream::init calls close. If a file is not open, this close call fails. In a default configuration this is not a problem. However, if you set the stream to throw exceptions on fail, then you get an exception when opening a file.
The solutions is to change the code to:
if(is_open())
close();
The text was updated successfully, but these errors were encountered:
rconde01
added a commit
to rconde01/gnsstk
that referenced
this issue
Jul 24, 2023
FFStream::init calls close. If a file is not open, this close call fails. In a default configuration this is not a problem. However, if you set the stream to throw exceptions on fail, then you get an exception when opening a file.
The solutions is to change the code to:
The text was updated successfully, but these errors were encountered: