Skip to content

Commit 1604e8d

Browse files
committed
do not inline template functions
1 parent 8abde21 commit 1604e8d

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

DPG/Tasks/TPC/utilsTpcSkimsTableCreator.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ enum {
4747

4848
/// Event selection
4949
template <typename CollisionType>
50-
inline bool isEventSelected(const CollisionType& collision, const int applyEvSel)
50+
bool isEventSelected(const CollisionType& collision, const int applyEvSel)
5151
{
5252
if ((applyEvSel == EventSelectionRun2 && !collision.sel7()) || (applyEvSel == EventSelectionRun3 && !collision.sel8())) {
5353
return false;
@@ -86,7 +86,7 @@ inline bool downsampleTsalisCharged(TRandom3* fRndm, const double pt, const doub
8686

8787
// Track selection
8888
template <typename TrackType>
89-
inline bool isTrackSelected(const TrackType& track, const int trackSelection)
89+
bool isTrackSelected(const TrackType& track, const int trackSelection)
9090
{
9191
bool isSelected{false};
9292
isSelected |= trackSelection == TrackSelectionNoCut;
@@ -101,7 +101,7 @@ inline bool isTrackSelected(const TrackType& track, const int trackSelection)
101101

102102
/// Evaluate tpcSignal with or without dEdx correction
103103
template <bool IsCorrectedDeDx, typename TrkType>
104-
inline double tpcSignalGeneric(const TrkType& track)
104+
double tpcSignalGeneric(const TrkType& track)
105105
{
106106
if constexpr (IsCorrectedDeDx) {
107107
return track.tpcSignalCorrected();
@@ -127,7 +127,7 @@ using TrackMeanOccs = soa::Join<aod::TmoTrackIds, aod::TmoToTrackQA, aod::TmoPri
127127

128128
/// Evaluate occupancy-related variables
129129
template <typename TrkType>
130-
inline void evaluateOccupancyVariables(const TrkType& track, OccupancyValues& occValues)
130+
void evaluateOccupancyVariables(const TrkType& track, OccupancyValues& occValues)
131131
{
132132
if (track.tmoId() == -1) {
133133
return;

0 commit comments

Comments
 (0)