Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
atlas
athena
Commits
be9821fe
Commit
be9821fe
authored
Jan 07, 2018
by
Scott Snyder
Committed by
scott snyder
Jan 08, 2018
Browse files
TrigConfigSvc: Fix gcc8 compilation warnings.
gcc8 compilation warnings: catching polymorphic exceptions via value.
parent
2b9f2abe
Changes
2
Show whitespace changes
Inline
Side-by-side
Trigger/TrigConfiguration/TrigConfigSvc/src/HLTConfigSvc.cxx
View file @
be9821fe
...
...
@@ -337,7 +337,7 @@ TrigConf::HLTConfigSvc::queryInterface( const InterfaceID& riid, void** ppvIF )
try
{
*
ppvIF
=
dynamic_cast
<
IHLTConfigSvc
*>
(
this
);
}
catch
(
std
::
bad_cast
)
{
catch
(
const
std
::
bad_cast
&
)
{
return
StatusCode
::
FAILURE
;
}
sc
=
StatusCode
::
SUCCESS
;
...
...
Trigger/TrigConfiguration/TrigConfigSvc/src/LVL1ConfigSvc.cxx
View file @
be9821fe
...
...
@@ -201,7 +201,7 @@ LVL1ConfigSvc::queryInterface( const InterfaceID& riid, void** ppvIF ) {
if
(
riid
==
ILVL1ConfigSvc
::
interfaceID
()
)
{
try
{
*
ppvIF
=
dynamic_cast
<
ILVL1ConfigSvc
*>
(
this
);
}
catch
(
bad_cast
)
{
}
catch
(
const
bad_cast
&
)
{
return
StatusCode
::
FAILURE
;
}
sc
=
StatusCode
::
SUCCESS
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment