Skip to content

Commit

Permalink
Merge pull request #10 from rest-for-physics/any_to_RESTValue
Browse files Browse the repository at this point in the history
Removal of custom typedef any since it is misleading with std::any
  • Loading branch information
juanangp authored Sep 6, 2023
2 parents 970e0c9 + 66f7a4e commit caa4e25
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions inc/TRestLegacyProcess.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
//! Base class for legacy process
class TRestLegacyProcess : public TRestEventProcess {
public:
any GetInputEvent() const final { return any((TRestEvent*)nullptr); }
any GetOutputEvent() const final { return any((TRestEvent*)nullptr); }
RESTValue GetInputEvent() const final { return RESTValue((TRestEvent*)nullptr); }
RESTValue GetOutputEvent() const final { return RESTValue((TRestEvent*)nullptr); }

void InitProcess() final{};
TRestEvent* ProcessEvent(TRestEvent* eventInput) final {
Expand Down

0 comments on commit caa4e25

Please sign in to comment.