Skip to content

Commit a792372

Browse files
committed
ALICE3: fixing inheritance for TimeFrame
1 parent c5024de commit a792372

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Detectors/ITSMFT/ITS/tracking/GPU/ITStrackingGPU/TimeFrameGPU.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ class TimeFrameGPU : public TimeFrame<NLayers>
104104

105105
/// interface
106106
virtual bool isGPU() const noexcept final { return true; }
107-
virtual const char* getName() const noexcept { return "GPU"; }
107+
virtual const char* getName() const noexcept final { return "GPU"; }
108108
IndexTableUtilsN* getDeviceIndexTableUtils() { return mIndexTableUtilsDevice; }
109109
const auto getDeviceROFOverlapTableView() { return mDeviceROFOverlapTableView; }
110110
const auto getDeviceROFVertexLookupTableView() { return mDeviceROFVertexLookupTableView; }

Detectors/ITSMFT/ITS/tracking/include/ITStracking/TimeFrame.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ struct TimeFrame {
281281

282282
// interface
283283
virtual bool isGPU() const noexcept { return false; }
284-
virtual const char* getName() const noexcept { return "CPU"; }
284+
virtual const char* getName() const noexcept final { return "CPU"; }
285285

286286
protected:
287287
void prepareClusters(const TrackingParameters& trkParam, const int maxLayers = NLayers);

0 commit comments

Comments
 (0)