diff --git a/Database/APR/ImplicitCollection/src/ImplicitCollection.cpp b/Database/APR/ImplicitCollection/src/ImplicitCollection.cpp index 2e05fcf0177065276b8b8dae169ec8dca8a5ac0a..164a16c60bf60c42c20b5d2ab161455e42631c13 100755 --- a/Database/APR/ImplicitCollection/src/ImplicitCollection.cpp +++ b/Database/APR/ImplicitCollection/src/ImplicitCollection.cpp @@ -1,5 +1,5 @@ /* - Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration + Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration */ #include "ImplicitCollection.h" @@ -24,8 +24,8 @@ namespace pool { ImplicitCollection:: ImplicitCollection( ISession* session, - std::string connection, - std::string name, + const std::string& connection, + const std::string& name, ICollection::OpenMode mode ) : m_container( 0 ), diff --git a/Database/APR/ImplicitCollection/src/ImplicitCollection.h b/Database/APR/ImplicitCollection/src/ImplicitCollection.h index 32855c71215ddb93ee3329100b7994064115d1c1..7c7b12750303f76fa58d44b6e7508db9b2fa939c 100755 --- a/Database/APR/ImplicitCollection/src/ImplicitCollection.h +++ b/Database/APR/ImplicitCollection/src/ImplicitCollection.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration + Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration */ #ifndef INCLUDE_IMPLICITCOLLECTION_IMPLICITCOLLECTION_H @@ -36,8 +36,8 @@ namespace pool { @param mode collection's open mode. For the moment only READONLY mode is allowed. */ ImplicitCollection( ISession* session, - std::string connection, - std::string name, + const std::string& connection, + const std::string& name, ICollection::OpenMode mode ); /// Constructor compying to the new Collections API