Skip to content

Commit 66f7a4e

Browse files
committed
Removal of custom typedef any since it is misleading with std::any, replaced by RESTValue
1 parent 970e0c9 commit 66f7a4e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

inc/TRestLegacyProcess.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@
2828
//! Base class for legacy process
2929
class TRestLegacyProcess : public TRestEventProcess {
3030
public:
31-
any GetInputEvent() const final { return any((TRestEvent*)nullptr); }
32-
any GetOutputEvent() const final { return any((TRestEvent*)nullptr); }
31+
RESTValue GetInputEvent() const final { return RESTValue((TRestEvent*)nullptr); }
32+
RESTValue GetOutputEvent() const final { return RESTValue((TRestEvent*)nullptr); }
3333

3434
void InitProcess() final{};
3535
TRestEvent* ProcessEvent(TRestEvent* eventInput) final {

0 commit comments

Comments
 (0)