From 3afd5707e051beb335612bcb3055cf963fb57e47 Mon Sep 17 00:00:00 2001 From: Paul Gessinger Date: Tue, 17 Sep 2024 10:58:49 +0200 Subject: [PATCH] fix: Remove `using namespace` in Detray plugin header --- Examples/Python/src/Geometry.cpp | 3 ++- .../Detray/include/Acts/Plugins/Detray/DetrayConverter.hpp | 5 ++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Examples/Python/src/Geometry.cpp b/Examples/Python/src/Geometry.cpp index 89e2493c764..3782b62f1a3 100644 --- a/Examples/Python/src/Geometry.cpp +++ b/Examples/Python/src/Geometry.cpp @@ -252,7 +252,8 @@ void addExperimentalGeometry(Context& ctx) { }); // Portal definition - py::class_>(m, "Portal"); + py::class_>( + m, "Portal"); { // The surface hierarchy map diff --git a/Plugins/Detray/include/Acts/Plugins/Detray/DetrayConverter.hpp b/Plugins/Detray/include/Acts/Plugins/Detray/DetrayConverter.hpp index 24c59968ec5..b32bc05adee 100644 --- a/Plugins/Detray/include/Acts/Plugins/Detray/DetrayConverter.hpp +++ b/Plugins/Detray/include/Acts/Plugins/Detray/DetrayConverter.hpp @@ -22,8 +22,6 @@ namespace Acts { -using namespace Experimental; - class DetrayConverter { public: /// Detray conversion options @@ -49,7 +47,8 @@ class DetrayConverter { /// /// @returns a detector of requested return type template - detector_t convert(const GeometryContext& gctx, const Detector& detector, + detector_t convert(const GeometryContext& gctx, + const Experimental::Detector& detector, vecmem::memory_resource& mr, const Options& options) { // The building cache object DetrayConversionUtils::GeometryIdCache geoIdCache;