Skip to content
Snippets Groups Projects
Commit 19703218 authored by Scott Snyder's avatar Scott Snyder Committed by Tadej Novak
Browse files

AthenaPoolExampleAlgorithms: Fix thread-safety checker warnings.

AthenaPoolExampleAlgorithms: Fix thread-safety checker warnings.

Fix some new thread-safety checker warnings.
parent 460e3b34
No related branches found
No related tags found
No related merge requests found
/*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
*/
/** @file WriteTag.cxx
......@@ -57,7 +57,8 @@ StatusCode WriteTag::execute (const EventContext& ctx) const {
unsigned int runNumber = ctx.eventID().run_number();
ATH_MSG_INFO("EventInfo event: " << eventNumber << " run: " << runNumber);
auto tagAttribList = std::make_unique<TagAthenaAttributeList>(*m_attribListSpec);
const AthenaAttributeListSpecification* attribListSpec = m_attribListSpec;
auto tagAttribList = std::make_unique<TagAthenaAttributeList>(*attribListSpec);
(*tagAttribList)["RunNumber"].data<unsigned int>() = runNumber;
(*tagAttribList)["EventNumber"].data<unsigned int>() = eventNumber;
if (m_magic > 0) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment