Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
athena
Manage
Activity
Members
Labels
Plan
Jira
Code
Merge requests
150
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review 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
atlas
athena
Merge requests
!70828
MuonSimData+AthenaPoolTestData: Fix cppcheck warnings.
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
MuonSimData+AthenaPoolTestData: Fix cppcheck warnings.
ssnyder/athena:cppcheck.MuonSimData-20240423
into
main
Overview
2
Commits
2
Pipelines
1
Changes
3
Merged
Scott Snyder
requested to merge
ssnyder/athena:cppcheck.MuonSimData-20240423
into
main
9 months ago
Overview
2
Commits
2
Pipelines
1
Changes
3
Expand
Prefer initializing members in an initialization list.
👍
0
👎
0
Merge request reports
Compare
main
main (base)
and
latest version
latest version
e271549e
2 commits,
9 months ago
3 files
+
17
−
24
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
3
Search (e.g. *.vue) (Ctrl+P)
AtlasTest/DatabaseTest/AthenaPoolTestData/src/AthenaPoolTestMapData.cxx
+
3
−
14
Options
/*
Copyright (C) 2002-20
17
CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-20
24
CERN for the benefit of the ATLAS collaboration
*/
/**
@@ -25,23 +25,12 @@ AthenaPoolTestMapData::AthenaPoolTestMapData() :
AthenaPoolTestMapData
::
AthenaPoolTestMapData
(
const
std
::
vector
<
Deposit
>&
deposits
,
int
simDataWord
)
:
m_word
(
((
deposits
.
size
()
<<
29
)
&
0xe0000000
)
|
(
simDataWord
&
0x1fffffff
))
:
m_word
(
((
deposits
.
size
()
<<
29
)
&
0xe0000000
)
|
(
simDataWord
&
0x1fffffff
)),
m_deposits
(
deposits
)
{
/*
m_p_deposits = new Deposit[deposits.size()];
for (unsigned int i = 0; i!= deposits.size(); i++)
{
m_p_deposits[i] = deposits[i];
}
*/
m_deposits
=
deposits
;
}
AthenaPoolTestMapData
::~
AthenaPoolTestMapData
()
{
// delete[] m_p_deposits;
}
Loading