Skip to content

Commit

Permalink
Fix compilation warnings (AliceO2Group#5691)
Browse files Browse the repository at this point in the history
Signed-off-by: Veronika Barbasova <[email protected]>
Co-authored-by: Veronika Barbasova <[email protected]>
  • Loading branch information
vbarbaso and Veronika Barbasova authored Apr 18, 2024
1 parent 8fa02cd commit 0f87a82
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions PWGLF/Utils/rsnOutput.h
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ class Output
public:
virtual ~Output() = default;

virtual void init(std::vector<std::string> const& sparseAxes, std::vector<AxisSpec> const& allAxes, bool /*produceTrue*/ = false, bool /*eventMixing*/ = false, bool /*produceLikesign*/ = false, HistogramRegistry* registry = nullptr)
virtual void init(std::vector<std::string> const& sparseAxes, std::vector<AxisSpec> const& allAxes, bool produceTrue = false, bool eventMixing = false, bool produceLikesign = false, HistogramRegistry* registry = nullptr)
{
mHistogramRegistry = registry;
if (mHistogramRegistry == nullptr)
Expand Down Expand Up @@ -107,7 +107,7 @@ class Output
mFillPoint = new double[mCurrentAxisTypes.size()];

LOGF(info, "Number of axis added: %d", mCurrentAxes.size());
mPairHisto = new HistogramConfigSpec({HistType::kTHnSparseF}, mCurrentAxes);
mPairHisto = new HistogramConfigSpec(HistType::kTHnSparseF, mCurrentAxes);
};

template <typename T>
Expand All @@ -120,15 +120,15 @@ class Output
mHistogramRegistry->get<THnSparse>(h)->Fill(mFillPoint);
}

virtual void fill(EventType /*t*/, double* /*point*/)
virtual void fill(EventType t, double* point)
{
LOGF(warning, "Abstract method : 'virtual void rsn::Output::fill(EventType t, double* point)' !!! Please implement it first.");
};
virtual void fill(TrackType /*t*/, double* /*point*/)
virtual void fill(TrackType t, double* point)
{
LOGF(warning, "Abstract method : 'virtual void rsn::Output::fill(TrackType t, double* point)' !!! Please implement it first.");
};
virtual void fill(PairType /*t*/, double* /*point*/)
virtual void fill(PairType t, double* point)
{
LOGF(warning, "Abstract method : 'virtual void rsn::Output::fill(PairType t, double* point)' !!! Please implement it first.");
};
Expand Down

0 comments on commit 0f87a82

Please sign in to comment.