summaryrefslogtreecommitdiff
path: root/src/archivefiletree.h
diff options
context:
space:
mode:
authorMikaël Capelle <capelle.mikael@gmail.com>2020-06-02 12:40:46 +0200
committerMikaël Capelle <capelle.mikael@gmail.com>2020-06-02 12:40:46 +0200
commitb8a1365dacd7ffa8705bbb3dcaf2e2dc6613e6fb (patch)
treed8a5fc39c90e35a0aa696730358c63acd3205c1d /src/archivefiletree.h
parent30361186c14d43b9fa72b7dc4d6ceaf1c3f57868 (diff)
Update after change to CreateArchive. Remove unused archive handler from self-updater.
Diffstat (limited to 'src/archivefiletree.h')
-rw-r--r--src/archivefiletree.h6
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: