Skip to content

Commit

Permalink
fix: Remove using namespace in Detray plugin header (#3616)
Browse files Browse the repository at this point in the history
  • Loading branch information
paulgessinger authored Sep 17, 2024
1 parent 2a85c69 commit 95e9c1e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
3 changes: 2 additions & 1 deletion Examples/Python/src/Geometry.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,8 @@ void addExperimentalGeometry(Context& ctx) {
});

// Portal definition
py::class_<Portal, std::shared_ptr<Portal>>(m, "Portal");
py::class_<Experimental::Portal, std::shared_ptr<Experimental::Portal>>(
m, "Portal");

{
// The surface hierarchy map
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@

namespace Acts {

using namespace Experimental;

class DetrayConverter {
public:
/// Detray conversion options
Expand All @@ -49,7 +47,8 @@ class DetrayConverter {
///
/// @returns a detector of requested return type
template <typename detector_t = DetrayHostDetector>
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;
Expand Down

0 comments on commit 95e9c1e

Please sign in to comment.