Ticket #8521 (assigned)
Make LoadParameterFile access instrument in proper manner
Reported by: | Karl Palmen | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | Backlog |
Component: | Framework | Keywords: | maintenance |
Cc: | anders.markvardsen@…, martyn.gigg@…, taylorrj@…, zhouw@… | Blocked By: | |
Blocking: | Tester: |
Description
Line 107 in LoadParameterFile has a dodgy pointer cast as explained in comment above it
// TODO: Refactor to remove the need for the const cast Instrument_sptr instrument = boost::const_pointer_cast<Instrument>(localWorkspace->getInstrument()->baseInstrument());
This ticket is basically that TODO.
It has not yet caused a known problem, but the functionality of the code is useful for putting parameters into a workspace (e.g. from a fullprof file).
Change History
Note: See
TracTickets for help on using
tickets.
bulk move to assigned at the into of the triage step