Description
The GenericSkeleton::GetEvents() returns a const EventMap which means all the elements are also const. But in order to Allocate() or Send() an event, the user needs a mutable GenericEvent which means we have to resort to ugly things like const_cast.
Error Occurrence Rate
None
How to reproduce
No response
Supporting Information
No response
Classification
minor
Affected Version
0.5
Expected Closure Version
0.5
Category
Description
The
GenericSkeleton::GetEvents()returns a const EventMap which means all the elements are also const. But in order to Allocate() or Send() an event, the user needs a mutable GenericEvent which means we have to resort to ugly things like const_cast.Error Occurrence Rate
None
How to reproduce
No response
Supporting Information
No response
Classification
minor
Affected Version
0.5
Expected Closure Version
0.5
Category