Skip to content

Commit

Permalink
Make FairRunOnline::AddObject virtual
Browse files Browse the repository at this point in the history
Addresses issue #1226.
  • Loading branch information
karabowi committed Sep 22, 2022
1 parent ac8074b commit 24827f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions base/steer/FairRunOnline.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -108,7 +108,7 @@ class FairRunOnline : public FairRun

virtual void Fill();

ClassDef(FairRunOnline, 0);
ClassDef(FairRunOnline, 1);
};

#endif // FAIRRUNONLINE_H

0 comments on commit 24827f8

Please sign in to comment.