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
Fabrizio Salvatore
athena
Commits
f0affcbe
Commit
f0affcbe
authored
6 years ago
by
scott snyder
Browse files
Options
Downloads
Patches
Plain Diff
VP1Utils: Fix gcc8 warnings.
gcc8 warnings: Catching polymorphic exception by value. Former-commit-id:
6913a0fe
parent
c29879b2
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
graphics/VP1/VP1Utils/VP1Utils/VP1SGAccessHelper.icc
+2
-2
2 additions, 2 deletions
graphics/VP1/VP1Utils/VP1Utils/VP1SGAccessHelper.icc
graphics/VP1/VP1Utils/VP1Utils/VP1ToolAccessHelper.icc
+2
-2
2 additions, 2 deletions
graphics/VP1/VP1Utils/VP1Utils/VP1ToolAccessHelper.icc
with
4 additions
and
4 deletions
graphics/VP1/VP1Utils/VP1Utils/VP1SGAccessHelper.icc
+
2
−
2
View file @
f0affcbe
/*
Copyright (C) 2002-201
7
CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-201
8
CERN for the benefit of the ATLAS collaboration
*/
...
...
@@ -73,7 +73,7 @@ inline bool VP1SGAccessHelper::retrieve(const DataHandle<T>& begin, const DataHa
try {
sc = storeGate()->retrieve(begin,end);
exception = false;
} catch (std::runtime_error e) {
} catch (
const
std::runtime_error
&
e) {
exception = true;
}
if (exception) {
...
...
This diff is collapsed.
Click to expand it.
graphics/VP1/VP1Utils/VP1Utils/VP1ToolAccessHelper.icc
+
2
−
2
View file @
f0affcbe
/*
Copyright (C) 2002-201
7
CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-201
8
CERN for the benefit of the ATLAS collaboration
*/
...
...
@@ -40,7 +40,7 @@ inline toolT * VP1ToolAccessHelper::getToolPointer( const QString& tooltypeandna
try {
retrieveok = !toolhandle.retrieve().isFailure();
exception = false;
} catch (std::runtime_error e) {
} catch (
const
std::runtime_error
&
e) {
exception = true;
}
if (exception) {
...
...
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