diff --git a/InnerDetector/InDetEventCnv/InDetEventAthenaPool/CMakeLists.txt b/InnerDetector/InDetEventCnv/InDetEventAthenaPool/CMakeLists.txt index ea0451f42a1d29529fed5b47eee5e4b14d08cd0b..d09db086e030946754faba672dc0e782f155db60 100644 --- a/InnerDetector/InDetEventCnv/InDetEventAthenaPool/CMakeLists.txt +++ b/InnerDetector/InDetEventCnv/InDetEventAthenaPool/CMakeLists.txt @@ -13,6 +13,7 @@ atlas_depends_on_subdirs( Generators/GeneratorObjectsTPCnv PRIVATE AtlasTest/TestTools + Control/CxxUtils Control/AthContainers Control/AthenaBaseComps Control/AthenaKernel diff --git a/InnerDetector/InDetEventCnv/InDetEventAthenaPool/src/MsgUtil.h b/InnerDetector/InDetEventCnv/InDetEventAthenaPool/src/MsgUtil.h index 8ffd1f767a16b93fd4f896af68b604c224da70d7..f66e09b5181c269cbf72c4aee649c52b23069819 100644 --- a/InnerDetector/InDetEventCnv/InDetEventAthenaPool/src/MsgUtil.h +++ b/InnerDetector/InDetEventCnv/InDetEventAthenaPool/src/MsgUtil.h @@ -12,6 +12,7 @@ #include "AthenaBaseComps/AthMessaging.h" #include "GaudiKernel/MsgStream.h" +#include "CxxUtils/no_sanitize_undefined.h" namespace IDEvtAthPool { //Small slightly dirty workaround so we can set the source name on the @@ -20,7 +21,7 @@ namespace IDEvtAthPool { public: void setSource(const char*c) { if (m_source!=c) m_source=c; } }; - inline void setMsgName(AthMessaging*a,const char*c) { + inline void setMsgName NO_SANITIZE_UNDEFINED (AthMessaging*a,const char*c) { if (a&&c) static_cast<MsgStreamSourceSettable*>(&(a->msg()))->setSource(c); } }