Skip to content
Snippets Groups Projects

Redesign of job options management

Merged Marco Clemencic requested to merge clemenci/Gaudi:joboptssvc-redesign into master
Compare and Show latest version
1 file
+ 2
2
Compare changes
  • Side-by-side
  • Inline
@@ -93,7 +93,7 @@ StatusCode JobOptionsSvc::setMyProperties( const std::string& client, IProperty*
for ( const auto& elem : m_options ) {
boost::string_ref key = elem.first;
if ( key.starts_with( key_base ) ) {
const std::string name = static_cast<std::string>( key.substr( key_base_size ) );
const auto name = static_cast<std::string>( key.substr( key_base_size ) );
// \fixme this has to change if we want nested properties
// if ( myInt->hasProperty( name ) ) {
if ( name.find( '.' ) == std::string::npos ) {
@@ -132,7 +132,7 @@ std::vector<std::string> JobOptionsSvc::getClients() const
const auto pos = elem.first.rfind( '.' );
if ( pos != std::string::npos ) clients.emplace( elem.first, 0, pos );
}
return std::vector<std::string>{begin( clients ), end( clients )};
return {begin( clients ), end( clients )};
}
void JobOptionsSvc::dump( const std::string& file, const gp::Catalog& catalog ) const
Loading