From 24827f8f9b30dcf4477d977097ef0fe223745c63 Mon Sep 17 00:00:00 2001 From: Radoslaw Karabowicz Date: Wed, 21 Sep 2022 15:01:50 +0200 Subject: [PATCH] Make FairRunOnline::AddObject virtual Addresses issue #1226. --- base/steer/FairRunOnline.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/base/steer/FairRunOnline.h b/base/steer/FairRunOnline.h index e4d9c26f97..3fdf9773ff 100644 --- a/base/steer/FairRunOnline.h +++ b/base/steer/FairRunOnline.h @@ -65,7 +65,7 @@ class FairRunOnline : public FairRun Bool_t GetContainerStatic() { return fStatic; }; /** Add histogram to be displayed using THttpServer.*/ - void AddObject(TObject* object); + virtual void AddObject(TObject* object); /** Activate http server on defined host port. To be called before Init. * @param refreshRate an interval in number of events for server update. @@ -108,7 +108,7 @@ class FairRunOnline : public FairRun virtual void Fill(); - ClassDef(FairRunOnline, 0); + ClassDef(FairRunOnline, 1); }; #endif // FAIRRUNONLINE_H