Skip to content

Make sure an empty applyToAllChildren is not used by mistake

Marco Clemencic requested to merge clemenci-master-patch-28551 into master

Not all subdetectors implemented IAlignable::applyToAllChildren, but the default implementation is not useful and may cause silent errors difficult to debug.

This MR makes the default implementation throw a NotImplemented error so that misuses of the interface are properly detected.

Merge request reports

Loading