Rename AmpGen::typeof to type_of to avoid clash with a GNU C extension
When building Gauss on top an an LHCb that uses Detector and DD4hep we get a spurious -std=gnu++17
compiler option which has the side effect of enabling some GNU extensions to C and C++ that are not enabled by just -std=c++17
.
In most cases this is not a problem, but AmpGen defined AmpGen::typeof
which clashes with the GNU C
extension typeof
.
This MR renames the AmpGen helper to type_of
to avoid the clash.
Needed for LHCb!3453 (merged)
Edited by Marco Clemencic