Skip to content

Commit ae21d9f

Browse files
committed
Remove remaining pragma once
1 parent 0e5fb9c commit ae21d9f

4 files changed

Lines changed: 15 additions & 4 deletions

File tree

Analysis/DataModel/include/AnalysisDataModel/EMCALClusters.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
//
1414
// Author: Raymond Ehlers
1515

16-
#pragma once
16+
#ifndef O2_ANALYSIS_DATAMODEL_EMCALCLUSTERS
17+
#define O2_ANALYSIS_DATAMODEL_EMCALCLUSTERS
1718

1819
#include "Framework/AnalysisDataModel.h"
1920

@@ -36,3 +37,5 @@ DECLARE_SOA_TABLE(EMCALClusters, "AOD", "EMCALCLUSTERS", //!
3637
using EMCALCluster = EMCALClusters::iterator;
3738

3839
} // namespace o2::aod
40+
41+
#endif

Analysis/DataModel/include/AnalysisDataModel/Jet.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
//
1414
// Author: Jochen Klein, Nima Zardoshti
1515

16-
#pragma once
16+
#ifndef O2_ANALYSIS_DATAMODEL_JET_H
17+
#define O2_ANALYSIS_DATAMODEL_JET_H
1718

1819
#include "Framework/AnalysisDataModel.h"
1920
#include <cmath>
@@ -100,3 +101,5 @@ DECLARE_SOA_TABLE(JetConstituentsSub, "AOD", "CONSTITUENTSSUB", //!
100101
using JetConstituentSub = JetConstituentsSub::iterator;
101102

102103
} // namespace o2::aod
104+
105+
#endif

version/O2Version.h

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

12-
#pragma once
12+
#ifndef O2_VERSION_H
13+
#define O2_VERSION_H
1314

1415
#include <string>
1516

@@ -24,3 +25,5 @@ std::string gitRevision();
2425
/// get information about build platform (for example OS and alidist release when used)
2526
std::string getBuildInfo();
2627
} // namespace o2
28+
29+
#endif

version/O2Version.h.in

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,10 @@
1212
// This file provides information about how O2 was built
1313
// and potentially other version information.
1414

15-
#pragma once
15+
#ifndef O2_VERSION_GENERATED_H
16+
#define O2_VERSION_GENERATED_H
1617

1718
#define O2_GIT_REVISION "@O2_GIT_REVISION@"
1819
#define ALIDIST_GIT_REVISION "@ALIDIST_GIT_REVISION@"
1920

21+
#endif

0 commit comments

Comments
 (0)