diff --git a/Core/include/Acts/Geometry/Blueprint.hpp b/Core/include/Acts/Geometry/Blueprint.hpp index 12ade558d50..0752f069fea 100644 --- a/Core/include/Acts/Geometry/Blueprint.hpp +++ b/Core/include/Acts/Geometry/Blueprint.hpp @@ -17,8 +17,15 @@ namespace Acts { class GeometryContext; -class Blueprint : public BlueprintNode { +class Blueprint : private BlueprintNode { public: + using BlueprintNode::addChild; + using BlueprintNode::addCylinderContainer; + using BlueprintNode::addLayer; + using BlueprintNode::addMaterial; + using BlueprintNode::graphViz; + using BlueprintNode::Options; + struct Config { ExtentEnvelope envelope = ExtentEnvelope::Zero(); GeometryIdentifierHook geometryIdentifierHook = {}; diff --git a/Examples/Python/src/Blueprint.cpp b/Examples/Python/src/Blueprint.cpp index 07b94c009dd..4bb29fb647a 100644 --- a/Examples/Python/src/Blueprint.cpp +++ b/Examples/Python/src/Blueprint.cpp @@ -284,8 +284,7 @@ void addBlueprint(Context& ctx) { }); { - auto n = py::class_>( - m, "Blueprint"); + auto n = py::class_>(m, "Blueprint"); n.def(py::init()) .def_property_readonly("name", &Blueprint::name)