[refactor] Define MessageStartChars as std::array

This commit is contained in:
TheCharlatan
2023-09-12 13:01:07 +02:00
parent 37e2b01113
commit 9be330b654
10 changed files with 19 additions and 19 deletions

View File

@@ -136,7 +136,7 @@ bool IsSQLiteFile(const fs::path& path)
}
// Check the application id matches our network magic
return memcmp(Params().MessageStart(), app_id, 4) == 0;
return memcmp(Params().MessageStart().data(), app_id, 4) == 0;
}
void ReadDatabaseArgs(const ArgsManager& args, DatabaseOptions& options)