From a9694ba06acc9ea225f83bbd31f93cbedec4ff0c Mon Sep 17 00:00:00 2001 From: Paul Cristian Sarbu Date: Thu, 10 Aug 2023 15:44:16 +0200 Subject: ArchiveOps: reduce verbosity in archive type enum --- src/other_tools/utils/archive_ops.hpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'src/other_tools/utils/archive_ops.hpp') diff --git a/src/other_tools/utils/archive_ops.hpp b/src/other_tools/utils/archive_ops.hpp index 22cf7e4b..6ad5b7c4 100644 --- a/src/other_tools/utils/archive_ops.hpp +++ b/src/other_tools/utils/archive_ops.hpp @@ -25,13 +25,7 @@ using archive = struct archive; using archive_entry = struct archive_entry; } -enum class ArchiveType : size_t { - kArchiveTypeZip, - kArchiveTypeTar, - kArchiveTypeTarGz, - kArchiveTypeTarBz2, - kArchiveTypeTarXz -}; +enum class ArchiveType : size_t { Zip, Tar, TarGz, TarBz2, TarXz }; /// \brief Class handling archiving and unarchiving operations via libarchive class ArchiveOps { -- cgit v1.2.3