From 8e31513d734852f474e1f99ba19ae4f30125245a Mon Sep 17 00:00:00 2001 From: Thomas Madlener Date: Tue, 4 Nov 2025 10:38:13 +0100 Subject: [PATCH] Do not use deprecated and removed operator-> This is necessary to build with podio >= 1.5, but will work for all older versions of podio regardless. Deprecated in https://github.com/AIDASoft/podio/pull/811 Removed in https://github.com/AIDASoft/podio/pull/812 --- src/programs/unit_tests/Components/PodioTests.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/programs/unit_tests/Components/PodioTests.cc b/src/programs/unit_tests/Components/PodioTests.cc index 5ac42973c..5c10f71ba 100644 --- a/src/programs/unit_tests/Components/PodioTests.cc +++ b/src/programs/unit_tests/Components/PodioTests.cc @@ -255,14 +255,14 @@ struct MyMultiFac: JMultifactory { void Process(const std::shared_ptr& event) override { auto hits = event->GetCollection("hits"); ExampleClusterCollection clusters; - auto cluster = clusters->create(); + auto cluster = clusters.create(); for (auto hit : *hits) { cluster.addHits(hit); } SetCollection("clusters", std::move(clusters)); ExampleClusterCollection clusters2; - auto cluster2 = clusters2->create(); + auto cluster2 = clusters2.create(); for (auto hit : *hits) { cluster2.addHits(hit); }