From 56f45400e3754392492a36c1cefc084ddf7866b8 Mon Sep 17 00:00:00 2001 From: scott snyder <snyder@bnl.gov> Date: Tue, 17 Sep 2019 16:27:48 +0200 Subject: [PATCH] ActsGeometry: Make ActsObjWriterTool::write() const. Fixes ToolHandle constness problem. --- Tracking/Acts/ActsGeometry/ActsGeometry/ActsObjWriterTool.h | 4 ++-- Tracking/Acts/ActsGeometry/src/ActsObjWriterTool.cxx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Tracking/Acts/ActsGeometry/ActsGeometry/ActsObjWriterTool.h b/Tracking/Acts/ActsGeometry/ActsGeometry/ActsObjWriterTool.h index 945de291de1b..23f101e8f858 100644 --- a/Tracking/Acts/ActsGeometry/ActsGeometry/ActsObjWriterTool.h +++ b/Tracking/Acts/ActsGeometry/ActsGeometry/ActsObjWriterTool.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration + Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration */ #ifndef ACTSGEOMETRY_ACTSOBJWRITERTOOL_H @@ -36,7 +36,7 @@ public: const IInterface* parent); void - write(const ActsGeometryContext& gctx, const Acts::TrackingGeometry&); + write(const ActsGeometryContext& gctx, const Acts::TrackingGeometry&) const; private: diff --git a/Tracking/Acts/ActsGeometry/src/ActsObjWriterTool.cxx b/Tracking/Acts/ActsGeometry/src/ActsObjWriterTool.cxx index 53304d0a7fe0..21c97a0b5cc1 100644 --- a/Tracking/Acts/ActsGeometry/src/ActsObjWriterTool.cxx +++ b/Tracking/Acts/ActsGeometry/src/ActsObjWriterTool.cxx @@ -1,5 +1,5 @@ /* - Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration + Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration */ #include "ActsGeometry/ActsObjWriterTool.h" @@ -37,7 +37,7 @@ ActsObjWriterTool::initialize() } void -ActsObjWriterTool::write(const ActsGeometryContext& gctx, const Acts::TrackingGeometry& tg) +ActsObjWriterTool::write(const ActsGeometryContext& gctx, const Acts::TrackingGeometry& tg) const { const auto& ctx = Gaudi::Hive::currentContext(); -- GitLab