Skip to content
Snippets Groups Projects
Commit 4e2de552 authored by Vakhtang Tsulaia's avatar Vakhtang Tsulaia
Browse files

Merge branch 'cppcheck.ImplicitCollection-20201111' into 'master'

ImplicitCollection: Fix cppcheck warnings.

See merge request atlas/athena!38116
parents 3ce02e05 09ca9ebf
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-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 ),
......
/*
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
......
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