diff options
author | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2024-04-08 13:18:22 +0200 |
---|---|---|
committer | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2024-04-08 15:19:50 +0200 |
commit | 277be6dd08633dbebfda93afdfc6b5cb57e053e0 (patch) | |
tree | 6c86157c7f93636459361264054753a1dc9d33e9 /src/utils/archive/archive_ops.hpp | |
parent | 419a458ad9d4383eb47d51fe8e4408a0e240c2f1 (diff) | |
download | justbuild-277be6dd08633dbebfda93afdfc6b5cb57e053e0.tar.gz |
Use properly included standard library types by default
Diffstat (limited to 'src/utils/archive/archive_ops.hpp')
-rw-r--r-- | src/utils/archive/archive_ops.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/utils/archive/archive_ops.hpp b/src/utils/archive/archive_ops.hpp index 933bb814..89151790 100644 --- a/src/utils/archive/archive_ops.hpp +++ b/src/utils/archive/archive_ops.hpp @@ -15,6 +15,7 @@ #ifndef INCLUDED_SRC_UTILS_ARCHIVE_ARCHIVE_OPS_HPP #define INCLUDED_SRC_UTILS_ARCHIVE_ARCHIVE_OPS_HPP +#include <cstddef> #include <filesystem> #include <optional> @@ -25,7 +26,7 @@ using archive = struct archive; using archive_entry = struct archive_entry; } -enum class ArchiveType : size_t { +enum class ArchiveType : std::size_t { Zip, _7Zip, ZipAuto, // autodetect zip-like archives |