From 869ad06089374e16c48fd23e458a8aeb5b39a25a Mon Sep 17 00:00:00 2001
From: Frank Winklmeier <frank.winklmeier@cern.ch>
Date: Tue, 4 Oct 2022 09:18:13 +0200
Subject: [PATCH] Merge branch 'clang.TrigNavTools-20221003' into 'master'

TrigNavTools: Fix compilation with clang+gcc12.

See merge request atlas/athena!57238

(cherry picked from commit 697aa0e84b457b572f7be7aebab82407c7c193a2)

47b83439 TrigNavTools: Fix compilation with clang+gcc12.
---
 Trigger/TrigEvent/TrigNavTools/src/NavigationTesterAlg.cxx | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/Trigger/TrigEvent/TrigNavTools/src/NavigationTesterAlg.cxx b/Trigger/TrigEvent/TrigNavTools/src/NavigationTesterAlg.cxx
index 13e1e6dd6f4c..acd08476b932 100644
--- a/Trigger/TrigEvent/TrigNavTools/src/NavigationTesterAlg.cxx
+++ b/Trigger/TrigEvent/TrigNavTools/src/NavigationTesterAlg.cxx
@@ -19,7 +19,9 @@ namespace {
             ret.emplace(combination.begin(), combination.end());
         return ret;
     }
+}
 
+namespace xAOD {
     std::ostream &operator<<(std::ostream &os, const xAOD::IParticle *p)
     {
         return os << "["
@@ -30,7 +32,9 @@ namespace {
             << "]";
 
     }
+}
 
+namespace std {
     // Define printing operators for the set and IParticle pointers
     template <typename T>
     std::ostream &operator<<(std::ostream &os, const std::set<T> &s)
-- 
GitLab