summaryrefslogtreecommitdiff
path: root/src/buildtool/file_system/file_storage.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/buildtool/file_system/file_storage.hpp')
-rw-r--r--src/buildtool/file_system/file_storage.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/buildtool/file_system/file_storage.hpp b/src/buildtool/file_system/file_storage.hpp
index fefd22a7..221fe1dd 100644
--- a/src/buildtool/file_system/file_storage.hpp
+++ b/src/buildtool/file_system/file_storage.hpp
@@ -15,6 +15,7 @@
#ifndef INCLUDED_SRC_BUILDTOOL_FILE_SYSTEM_FILE_STORAGE_HPP
#define INCLUDED_SRC_BUILDTOOL_FILE_SYSTEM_FILE_STORAGE_HPP
+#include <cstdint>
#include <filesystem>
#include <string>
#include <utility>
@@ -25,7 +26,7 @@
#include "src/buildtool/logging/log_level.hpp"
#include "src/buildtool/logging/logger.hpp"
-enum class StoreMode {
+enum class StoreMode : std::uint8_t {
// First thread to write conflicting file wins.
FirstWins,
// Last thread to write conflicting file wins, effectively overwriting