Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
atlas
athena
Commits
8cadf793
Commit
8cadf793
authored
Apr 10, 2021
by
scott snyder
Committed by
Nils Krumnack
Jun 18, 2021
Browse files
AsgTools: Fix cppcheck warnings.
Don't let cppcheck see the #error directives.
parent
344b732f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Control/AthToolSupport/AsgTools/AsgTools/AsgComponent.h
View file @
8cadf793
/*
Copyright (C) 2002-202
0
CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-202
1
CERN for the benefit of the ATLAS collaboration
*/
/// \author Nils Krumnack
...
...
@@ -7,7 +7,7 @@
#ifndef ASGTOOLS_ASGCOMPONENT_H
#define ASGTOOLS_ASGCOMPONENT_H
#if
n
def
XAOD_STANDALONE
#if
!
def
ined(
XAOD_STANDALONE
) && !defined(__CPPCHECK__)
#error "This header should only be used in XAOD_STANDALONE"
#else
...
...
Control/AthToolSupport/AsgTools/AsgTools/SgTEvent.h
View file @
8cadf793
/*
Copyright (C) 2002-201
9
CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-20
2
1 CERN for the benefit of the ATLAS collaboration
*/
#ifndef ASGTOOLS_SGTEVENT_H
...
...
@@ -13,7 +13,7 @@
#include "AsgMessaging/StatusCode.h"
// Complain if we try using this header in Athena:
#if
n
def
XAOD_STANDALONE
#if
!
def
ined(
XAOD_STANDALONE
) && !defined(__CPPCHECK__)
# error( "This header should only be used for standalone ASG" )
#endif
...
...
Control/AthToolSupport/AsgTools/AsgTools/SgTEventMeta.h
View file @
8cadf793
/*
Copyright (C) 2002-201
9
CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-20
2
1 CERN for the benefit of the ATLAS collaboration
*/
#ifndef ASGTOOLS_SGTEVENTMETA_H
...
...
@@ -9,7 +9,7 @@
#include "AsgMessaging/StatusCode.h"
// Complain if we try using this header in Athena:
#if
n
def
XAOD_STANDALONE
#if
!
def
ined(
XAOD_STANDALONE
) && !defined(__CPPCHECK__)
# error "This header should not be used in Athena"
#endif // XAOD_STANDALONE
...
...
Write
Preview
Markdown
is supported
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