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

Fix clang warning.

See merge request !1340
parents 78c030e2 9322c752
No related branches found
No related tags found
1 merge request!1340Fix clang warning.
Pipeline #4038023 passed
/***********************************************************************************\
* (c) Copyright 1998-2020 CERN for the benefit of the LHCb and ATLAS collaborations *
* (c) Copyright 1998-2022 CERN for the benefit of the LHCb and ATLAS collaborations *
* *
* This software is distributed under the terms of the Apache version 2 licence, *
* copied verbatim in the file "LICENSE". *
......@@ -54,6 +54,8 @@ public:
DataObjID( const CLID& clid, std::string key );
DataObjID( std::string className, std::string key );
DataObjID& operator=( const DataObjID& ) = default;
/// only return the last part of the key
const std::string& key() const { return m_key; }
......
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