Skip to content

Commit 7a79318

Browse files
committed
fix 20
1 parent 5c71937 commit 7a79318

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

.github/workflows/static-analysis-pr.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,8 @@ jobs:
5555
CC: clang-20
5656
CXX: clang++-20
5757

58-
- uses: ./.github/actions/clang-tidy-native
58+
- name: Run clang-tidy
59+
uses: ./.github/actions/clang-tidy-native
5960
id: review
6061
with:
6162
exclude: 3rdparty
@@ -102,7 +103,8 @@ jobs:
102103
CC: gcc-14
103104
CXX: g++-14
104105

105-
- uses: ./.github/actions/clang-tidy-native
106+
- name: Run clang-tidy
107+
uses: ./.github/actions/clang-tidy-native
106108
id: review
107109
with:
108110
exclude: 3rdparty

modules/task/include/task.hpp

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,11 @@
22

33
#include <omp.h>
44

5-
#include <algorithm>
65
#include <array>
76
#include <chrono>
87
#include <cstdint>
98
#include <cstdlib>
10-
#include <exception>
119
#include <fstream>
12-
#include <functional>
1310
#include <iomanip>
1411
#include <iostream>
1512
#include <memory>
@@ -18,7 +15,6 @@
1815
#include <string>
1916
#include <util/include/util.hpp>
2017
#include <utility>
21-
#include <vector>
2218

2319
namespace ppc::task {
2420

@@ -259,8 +255,8 @@ class Task {
259255
virtual bool PostProcessingImpl() = 0;
260256

261257
private:
262-
InType input_;
263-
OutType output_;
258+
InType input_{};
259+
OutType output_{};
264260
StateOfTesting state_of_testing_ = kFunc;
265261
TypeOfTask type_of_task_ = kUnknown;
266262
StatusOfTask status_of_task_ = kEnabled;

0 commit comments

Comments
 (0)