Skip to content
Snippets Groups Projects
Commit df0c0023 authored by Walter Lampl's avatar Walter Lampl
Browse files

Merge branch 'using.PileUpMT-20231213' into 'main'

PileUpMT: Fix placement of using declarations.

See merge request !67821
parents 1f498513 103ae42c
No related branches found
No related tags found
1 merge request!67821PileUpMT: Fix placement of using declarations.
......@@ -120,6 +120,7 @@ StatusCode PileUpMTAlg::add_subevt(
}
StatusCode PileUpMTAlg::initialize() {
using namespace std::chrono;
ATH_MSG_DEBUG("Initializing " << name() << "...");
if (m_writeTrace) {
m_pileupTrace.init(
......
/*
Copyright (C) 2022 CERN for the benefit of the ATLAS collaboration
Copyright (C) 2022, 2023 CERN for the benefit of the ATLAS collaboration
*/
#ifndef PILEUPMT_PILEUPMTALG_H
......@@ -31,8 +31,6 @@
#include <string_view>
#include <thread>
using namespace std::chrono;
class atomic_output {
private:
std::FILE* m_file{};
......@@ -41,6 +39,7 @@ class atomic_output {
public:
atomic_output() = default;
void init(const std::string& filename) {
using namespace std::chrono;
std::lock_guard lck{m_mtx};
if (m_file != nullptr) {
return;
......
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