File tree Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ Checks: >
14
14
-bugprone-narrowing-conversions,
15
15
-clang-analyzer-optin.cplusplus.UninitializedObject,
16
16
-misc-const-correctness,
17
+ -misc-header-include-cycle,
17
18
-misc-include-cleaner,
18
19
-misc-no-recursion,
19
20
-misc-non-private-member-variables-in-classes,
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ struct PerfAttr {
20
20
struct PerfResults {
21
21
// measurement of task's time (in seconds)
22
22
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 ;
24
24
constexpr const static double kMaxTime = 10.0 ;
25
25
};
26
26
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ struct TaskData {
16
16
std::vector<std::uint32_t > inputs_count;
17
17
std::vector<uint8_t *> outputs;
18
18
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;
20
20
};
21
21
22
22
using TaskDataPtr = std::shared_ptr<ppc::core::TaskData>;
You can’t perform that action at this time.
0 commit comments