diff options
| author | Mikaël Capelle <capelle.mikael@gmail.com> | 2020-06-02 12:40:46 +0200 |
|---|---|---|
| committer | Mikaël Capelle <capelle.mikael@gmail.com> | 2020-06-02 12:40:46 +0200 |
| commit | b8a1365dacd7ffa8705bbb3dcaf2e2dc6613e6fb (patch) | |
| tree | d8a5fc39c90e35a0aa696730358c63acd3205c1d /src/archivefiletree.h | |
| parent | 30361186c14d43b9fa72b7dc4d6ceaf1c3f57868 (diff) | |
Update after change to CreateArchive. Remove unused archive handler from self-updater.
Diffstat (limited to 'src/archivefiletree.h')
| -rw-r--r-- | src/archivefiletree.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/archivefiletree.h b/src/archivefiletree.h index 0041acd6..e4a5cbdd 100644 --- a/src/archivefiletree.h +++ b/src/archivefiletree.h @@ -37,7 +37,7 @@ public: * * @return a file tree representing the given archive. */ - static std::shared_ptr<ArchiveFileTree> makeTree(Archive* archive); + static std::shared_ptr<ArchiveFileTree> makeTree(Archive const& archive); /** * @brief Update the given archive to reflect change in this tree. @@ -48,7 +48,7 @@ public: * @param archive The archive to update. Must be the one used to * create the tree. */ - virtual void mapToArchive(Archive *archive) const = 0; + virtual void mapToArchive(Archive &archive) const = 0; /** * @brief Update the given archive to prepare for the extraction @@ -61,7 +61,7 @@ public: * @param entries List of entries to mark for extraction. All the entries must * come from a tree created with the given archive. */ - static void mapToArchive(Archive* archive, std::vector<std::shared_ptr<const FileTreeEntry>> const& entries); + static void mapToArchive(Archive &archive, std::vector<std::shared_ptr<const FileTreeEntry>> const& entries); protected: |
