diff options
author | Dominick Allen <djallen@librehumanitas.org> | 2024-09-25 12:16:30 -0500 |
---|---|---|
committer | Dominick Allen <djallen@librehumanitas.org> | 2024-09-25 12:16:30 -0500 |
commit | 8477ffbfba2f15edb9f87e9336e2c4599000c32a (patch) | |
tree | 059a36f9d526b0807a7bd0b20979577f9a7e7d0e /src/archive.hpp | |
parent | b6e3cc840e255b78ee53e55b420aeee130e51ce1 (diff) |
Moving forward.
Diffstat (limited to 'src/archive.hpp')
-rw-r--r-- | src/archive.hpp | 7 |
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{}; |