Logbokk fligth type
This commit is contained in:
@@ -88,7 +88,7 @@ namespace file
|
||||
{
|
||||
std::ifstream in(BASE_DIRECTORY SIMDATABASE, std::ifstream::binary);
|
||||
|
||||
std::string ident = readString(in, 5);
|
||||
std::string ident = readString(in, 4);
|
||||
if (ident.compare(SIMDATABASE_HEADER) != 0) {
|
||||
throw std::invalid_argument("Wrong file");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user