From 445fa95656bf5dfabc8398338889a046d786efed Mon Sep 17 00:00:00 2001
From: Paul Gessinger-Befurt <paul.gessinger@cern.ch>
Date: Mon, 9 Dec 2019 13:43:08 +0000
Subject: [PATCH] Make attachVolume and attachVolumeArray public

---
 Core/include/Acts/Geometry/BoundarySurfaceT.hpp | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/Core/include/Acts/Geometry/BoundarySurfaceT.hpp b/Core/include/Acts/Geometry/BoundarySurfaceT.hpp
index 52bb1f228..28d5e19da 100644
--- a/Core/include/Acts/Geometry/BoundarySurfaceT.hpp
+++ b/Core/include/Acts/Geometry/BoundarySurfaceT.hpp
@@ -127,10 +127,8 @@ class BoundarySurfaceT {
   /// Virtual Destructor
   virtual ~BoundarySurfaceT() = default;
 
- protected:
   /// Helper method: attach a Volume to this BoundarySurfaceT
-  /// this is done during the geometry construction and only called by
-  /// the friend templated volume
+  /// this is done during the geometry construction.
   ///
   /// @param gctx The current geometry context object, e.g. alignment
   /// @param volume The volume to be attached
@@ -138,8 +136,7 @@ class BoundarySurfaceT {
   void attachVolume(const T* volume, BoundaryOrientation inout);
 
   /// Helper method: attach a Volume to this BoundarySurfaceT
-  /// this is done during the geometry construction and only called by
-  /// the friend templated volume
+  /// this is done during the geometry construction.
   ///
   /// @param volumes The volume array to be attached
   /// @param inout The boundary orientation @todo update to along/opposite
-- 
GitLab