From ed24c3b85dc366282800610859bc22d75764cbc6 Mon Sep 17 00:00:00 2001 From: Enrico Guiraud <enrico.guiraud@cern.ch> Date: Thu, 3 Aug 2017 18:05:29 +0200 Subject: [PATCH] [TDF] Mark final methods as final --- tree/treeplayer/inc/ROOT/TDFNodes.hxx | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/tree/treeplayer/inc/ROOT/TDFNodes.hxx b/tree/treeplayer/inc/ROOT/TDFNodes.hxx index b8e6e90ed62..a3fbd8d5a96 100644 --- a/tree/treeplayer/inc/ROOT/TDFNodes.hxx +++ b/tree/treeplayer/inc/ROOT/TDFNodes.hxx @@ -410,14 +410,14 @@ public: void PartialReport() const final { fPrevData.PartialReport(); } - void StopProcessing() + void StopProcessing() final { ++fNStopsReceived; if (fNStopsReceived == fNChildren) fPrevData.StopProcessing(); } - void IncrChildrenCount() + void IncrChildrenCount() final { ++fNChildren; // propagate "children activation" upstream @@ -529,14 +529,14 @@ public: PrintReport(); } - void StopProcessing() + void StopProcessing() final { ++fNStopsReceived; if (fNStopsReceived == fNChildren) fPrevData.StopProcessing(); } - void IncrChildrenCount() + void IncrChildrenCount() final { ++fNChildren; // propagate "children activation" upstream. named filters do the propagation via `TriggerChildrenCount`. @@ -550,7 +550,7 @@ public: fPrevData.IncrChildrenCount(); } - void ResetReportCount() + void ResetReportCount() final { assert(!fName.empty()); // this method is to only be called on named filters // fAccepted and fRejected could be different than 0 if this is not the first event-loop run using this filter @@ -644,14 +644,14 @@ public: void PartialReport() const final { fPrevData.PartialReport(); } - void StopProcessing() + void StopProcessing() final { ++fNStopsReceived; if (fNStopsReceived == fNChildren && !fHasStopped) fPrevData.StopProcessing(); } - void IncrChildrenCount() + void IncrChildrenCount() final { ++fNChildren; // propagate "children activation" upstream -- GitLab