Skip to content
Snippets Groups Projects
Commit cc7f2b6d authored by scott snyder's avatar scott snyder Committed by scott snyder
Browse files

PersistentDataModel: Remove implicit conversion from coral::AttributeList.

AthenaAttributeList was allowing an implicit conversion from coral::AttributreList.
This was seen to be causing copies to be made of an AttributeList where this
was not intended.  Make the AthenaAttributeList conversion constructor explicit.
parent 2c2440e6
No related branches found
No related tags found
No related merge requests found
/*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
*/
/**
......@@ -50,7 +50,7 @@ public:
AthenaAttributeList();
/// Copy attribute lists.
AthenaAttributeList(const coral::AttributeList& rhs);
explicit AthenaAttributeList(const coral::AttributeList& rhs);
/// Construct attribute list according to the specification.
/// The link to the specification is kept internally.
......
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