Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
athena
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Peter Sherwood
athena
Commits
09ca9ebf
Commit
09ca9ebf
authored
4 years ago
by
scott snyder
Committed by
scott snyder
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
ImplicitCollection: Fix cppcheck warnings.
- Pass class instances by const reference, not by value.
parent
e122725b
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Database/APR/ImplicitCollection/src/ImplicitCollection.cpp
+3
-3
3 additions, 3 deletions
Database/APR/ImplicitCollection/src/ImplicitCollection.cpp
Database/APR/ImplicitCollection/src/ImplicitCollection.h
+3
-3
3 additions, 3 deletions
Database/APR/ImplicitCollection/src/ImplicitCollection.h
with
6 additions
and
6 deletions
Database/APR/ImplicitCollection/src/ImplicitCollection.cpp
+
3
−
3
View file @
09ca9ebf
/*
Copyright (C) 2002-20
17
CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-20
20
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
),
...
...
This diff is collapsed.
Click to expand it.
Database/APR/ImplicitCollection/src/ImplicitCollection.h
+
3
−
3
View file @
09ca9ebf
/*
Copyright (C) 2002-20
17
CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-20
20
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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment