Logbokk fligth type

This commit is contained in:
2022-09-25 22:31:05 +02:00
parent a50d89f4aa
commit 52da1262b0
5 changed files with 13 additions and 87 deletions
+1 -1
View File
@@ -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");
}