TrigDecisionTool: const-fixes for ChainGroup
- Keep a non-const reference to
CacheGlobalMemory
. - Replace the
cgm(false)
method with an explicitcgm_assert
that asserts the decision and twocgm()
methods that just return a (const) reference.
This makes it possible to have only one well-documented const_cast
.