1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 04:57:45 +00:00

LibArchive: Read Tar archive headers through read_value

This commit is contained in:
Tim Schumacher 2023-03-01 15:51:13 +01:00 committed by Linus Groh
parent b623dda765
commit 26ba195cf6
2 changed files with 6 additions and 4 deletions

View file

@ -155,3 +155,8 @@ private:
};
}
template<>
struct AK::Traits<Archive::TarFileHeader> : public AK::GenericTraits<Archive::TarFileHeader> {
static constexpr bool is_trivially_serializable() { return true; }
};