Try to create an EventContext aware ShallowCopy method, that also returns unique_ptr.
Add a EventContext aware ShallowCopy function that also returns smart pointers.
The function should be callable in AnalysisBase
e.g with the result of currentContext()
as second arguement.
But we have to ignore the ctx in `AnalysisBase as
- there is not real class for it in
- we can never dereference/use the return of
currentContext()
- There is not DataLink ctor accepting it
Here
(void)
seemed to avoid a bit fancy pre-processor indentation
Mentioning