From 4ae83890ce3a82e1f9a716971aaa69591f0cf6cb Mon Sep 17 00:00:00 2001 From: Maksim Denisov Date: Thu, 26 Sep 2024 16:51:10 +0200 Subject: Fix enum sizes proposed by clang-tidy. Enable performance-enum-size check. --- test/buildtool/multithreading/task_system.test.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test/buildtool/multithreading/task_system.test.cpp') diff --git a/test/buildtool/multithreading/task_system.test.cpp b/test/buildtool/multithreading/task_system.test.cpp index 4c7c0b47..fb6bbd1f 100644 --- a/test/buildtool/multithreading/task_system.test.cpp +++ b/test/buildtool/multithreading/task_system.test.cpp @@ -18,6 +18,7 @@ #include #include #include +#include #include #include #include // std::iota @@ -33,7 +34,7 @@ namespace { -enum class CallStatus { kNotExecuted, kExecuted }; +enum class CallStatus : std::uint8_t { kNotExecuted, kExecuted }; } // namespace -- cgit v1.2.3