Restructure backends

This commit is contained in:
momo5502
2025-04-11 08:58:49 +02:00
parent 6cb43b672e
commit d409c08ef6
71 changed files with 14 additions and 12 deletions

View File

@@ -18,8 +18,8 @@ namespace snapshot
std::span<const std::byte> validate_header(const std::span<const std::byte> snapshot)
{
snapshot_header default_header;
snapshot_header header{};
constexpr snapshot_header default_header{};
if (snapshot.size() < sizeof(header))
{