summaryrefslogtreecommitdiff
path: root/src/archive.hpp
diff options
context:
space:
mode:
authorDominick Allen <djallen@librehumanitas.org>2024-09-25 12:16:30 -0500
committerDominick Allen <djallen@librehumanitas.org>2024-09-25 12:16:30 -0500
commit8477ffbfba2f15edb9f87e9336e2c4599000c32a (patch)
tree059a36f9d526b0807a7bd0b20979577f9a7e7d0e /src/archive.hpp
parentb6e3cc840e255b78ee53e55b420aeee130e51ce1 (diff)
Moving forward.
Diffstat (limited to 'src/archive.hpp')
-rw-r--r--src/archive.hpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/archive.hpp b/src/archive.hpp
index 257f204..4a3df16 100644
--- a/src/archive.hpp
+++ b/src/archive.hpp
@@ -6,7 +6,8 @@
#include <cstdlib>
#include <memory>
#include <optional>
-#include <string>
+
+#include <fud_string.hpp>
#include <vector>
#include <zip.h>
@@ -31,7 +32,7 @@ class Archive {
class ZipArchive : public Archive {
public:
- explicit ZipArchive(const std::string& filename);
+ explicit ZipArchive(const fud::String& filename);
virtual ~ZipArchive() override;
ZipArchive(const ZipArchive& rhs) = delete;
ZipArchive(ZipArchive&& rhs);
@@ -47,7 +48,7 @@ class ZipArchive : public Archive {
zip_t* m_archive{nullptr};
std::vector<size_t> m_sortedIndices{};
- std::vector<std::string> m_filenames{};
+ std::vector<fud::String> m_filenames{};
std::vector<size_t> m_fileSizes{};
std::vector<std::optional<std::vector<char>>> m_pages{};