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

Fixed Gaudi::Property::makeHandles(const ARG& arg)

parent 2a047b4f
No related branches found
No related tags found
No related merge requests found
......@@ -606,7 +606,7 @@ namespace Gaudi
return value().fullKey();
}
template <class T = ValueType>
inline decltype( std::declval<T>().initialize() ) initialize()
inline decltype( std::declval<T>().initialize() ) initialize()
{
return value().initialize();
}
......@@ -616,7 +616,7 @@ namespace Gaudi
return value().makeHandles();
}
template <class ARG, class T = ValueType>
inline decltype( std::declval<T>().makeHandles()[ARG{}] ) makeHandles(const ARG& arg) const
inline decltype( std::declval<T>().makeHandles( std::declval<ARG>() ) ) makeHandles(const ARG& arg) const
{
return value().makeHandles(arg);
}
......
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