Skip to content

Commit afb1479

Browse files
committed
Fix cpplint errors
Fixes errors from the following categories: - `readability/inheritance` - `readability/braces` - `readability/multiline_comment` - `whitespace/newline` - `whitespace/empty_if_body` - `build/include_what_you_use` - `build/header_guard`
1 parent 1d577c5 commit afb1479

5 files changed

Lines changed: 6 additions & 1 deletion

File tree

‎Tutorials/ML/applyMlSelection.cxx‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636

3737
#include <cstdint>
3838
#include <cstdlib>
39+
#include <string>
3940
#include <vector>
4041

4142
using namespace o2;

‎Tutorials/src/ConfigurableCutLinkDef.h‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
// granted to it by virtue of its status as an Intergovernmental Organization
1010
// or submit itself to any jurisdiction.
1111

12+
// NOLINT(build/header_guard)
13+
1214
#pragma link off all globals;
1315
#pragma link off all classes;
1416
#pragma link off all functions;

‎Tutorials/src/associatedExample.cxx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ struct PartitionColExtra {
150150
struct BuildHmpidIndex {
151151
// build the index table HMPIDTracksIndex
152152
Builds<aod::HMPIDTracksIndex> idx;
153-
void init(InitContext const&) {};
153+
void init(InitContext const&) {}
154154
};
155155

156156
struct ConsumeHmpidIndex {

‎Tutorials/src/preprocess.cxx‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828

2929
#include <algorithm>
3030
#include <cstdlib>
31+
#include <string>
3132

3233
using namespace o2;
3334
using namespace o2::framework;

‎Tutorials/src/reweighting.cxx‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@
5151
#include <cstddef>
5252
#include <cstdint>
5353
#include <memory>
54+
#include <string>
5455
#include <vector>
5556

5657
using namespace o2;

0 commit comments

Comments
 (0)