chore: fix compile errors (#30903)

This commit is contained in:
Samuel Attard 2021-09-09 19:52:23 -07:00 committed by GitHub
parent 57d088517c
commit fb539f15d0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 25 additions and 11 deletions

View file

@ -29,7 +29,9 @@ enum HashAlgorithm {
};
struct IntegrityPayload {
IntegrityPayload() : algorithm(HashAlgorithm::NONE), block_size(0) {}
IntegrityPayload();
~IntegrityPayload();
IntegrityPayload(const IntegrityPayload& other);
HashAlgorithm algorithm;
std::string hash;
uint32_t block_size;
@ -41,7 +43,8 @@ struct IntegrityPayload {
class Archive {
public:
struct FileInfo {
FileInfo() : unpacked(false), executable(false), size(0), offset(0) {}
FileInfo();
~FileInfo();
bool unpacked;
bool executable;
uint32_t size;