summaryrefslogtreecommitdiff
path: root/src/buildtool/execution_api/common/execution_response.hpp
diff options
context:
space:
mode:
authorMaksim Denisov <denisov.maksim@huawei.com>2024-09-26 16:51:10 +0200
committerMaksim Denisov <denisov.maksim@huawei.com>2024-09-26 16:54:21 +0200
commit4ae83890ce3a82e1f9a716971aaa69591f0cf6cb (patch)
treedac323622558073c89fcbd892da02af0cfc453ac /src/buildtool/execution_api/common/execution_response.hpp
parent5baab75fd2ae62b6f6407991922fe234f9e73c88 (diff)
downloadjustbuild-4ae83890ce3a82e1f9a716971aaa69591f0cf6cb.tar.gz
Fix enum sizes proposed by clang-tidy.
Enable performance-enum-size check.
Diffstat (limited to 'src/buildtool/execution_api/common/execution_response.hpp')
-rw-r--r--src/buildtool/execution_api/common/execution_response.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/buildtool/execution_api/common/execution_response.hpp b/src/buildtool/execution_api/common/execution_response.hpp
index c0aa16f8..90c67317 100644
--- a/src/buildtool/execution_api/common/execution_response.hpp
+++ b/src/buildtool/execution_api/common/execution_response.hpp
@@ -15,6 +15,7 @@
#ifndef INCLUDED_SRC_BUILDTOOL_EXECUTION_API_COMMON_REMOTE_EXECUTION_RESPONSE_HPP
#define INCLUDED_SRC_BUILDTOOL_EXECUTION_API_COMMON_REMOTE_EXECUTION_RESPONSE_HPP
+#include <cstdint>
#include <memory>
#include <string>
#include <unordered_map>
@@ -35,7 +36,7 @@ class IExecutionResponse {
// set of paths found in output_directory_symlinks list of the action result
using DirSymlinks = std::unordered_set<std::string>;
- enum class StatusCode { Failed, Success };
+ enum class StatusCode : std::uint8_t { Failed, Success };
IExecutionResponse() = default;
IExecutionResponse(IExecutionResponse const&) = delete;