Skip to content

Commit 3035a31

Browse files
committed
3
1 parent 061ed57 commit 3035a31

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

.clang-tidy

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ Checks: >
1414
-bugprone-narrowing-conversions,
1515
-clang-analyzer-optin.cplusplus.UninitializedObject,
1616
-misc-const-correctness,
17+
-misc-header-include-cycle,
1718
-misc-include-cleaner,
1819
-misc-no-recursion,
1920
-misc-non-private-member-variables-in-classes,

modules/core/perf/include/perf.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ struct PerfAttr {
2020
struct PerfResults {
2121
// measurement of task's time (in seconds)
2222
double time_sec = 0.0;
23-
enum TypeOfRunning { kPipeline, kTaskRun, kNone } type_of_running = kNone;
23+
enum TypeOfRunning : uint8_t { kPipeline, kTaskRun, kNone } type_of_running = kNone;
2424
constexpr const static double kMaxTime = 10.0;
2525
};
2626

modules/core/task/include/task.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ struct TaskData {
1616
std::vector<std::uint32_t> inputs_count;
1717
std::vector<uint8_t *> outputs;
1818
std::vector<std::uint32_t> outputs_count;
19-
enum StateOfTesting { kFunc, kPerf } state_of_testing;
19+
enum StateOfTesting : uint8_t { kFunc, kPerf } state_of_testing;
2020
};
2121

2222
using TaskDataPtr = std::shared_ptr<ppc::core::TaskData>;

0 commit comments

Comments
 (0)