Skip to content
Snippets Groups Projects
Commit 329eab31 authored by Marco Clemencic's avatar Marco Clemencic
Browse files

Fix error: template-id not allowed for destructor

parent 1e1c9e03
No related branches found
No related tags found
1 merge request!4143Fixes for LCG 104
......@@ -283,15 +283,17 @@ LoKi::Algorithms::details::AlgsFunctorBase<ReturnType>::AlgsFunctorBase( std::ve
// ============================================================================
// MANDATORY: virtual destructor
// ============================================================================
template <typename ReturnType>
LoKi::Algorithms::details::AlgsFunctorBase<ReturnType>::~AlgsFunctorBase<ReturnType>() {
for ( auto& ia : m_algorithms ) {
if ( ia && !this->gaudi() ) {
// Warning("IAlgorithm: manual reset!") ;
ia.reset();
namespace LoKi::Algorithms::details {
template <typename ReturnType>
AlgsFunctorBase<ReturnType>::~AlgsFunctorBase() {
for ( auto& ia : m_algorithms ) {
if ( ia && !this->gaudi() ) {
// Warning("IAlgorithm: manual reset!") ;
ia.reset();
}
}
}
}
} // namespace LoKi::Algorithms::details
// ============================================================================
// OPTIONAL: nice printout
// ============================================================================
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment