diff --git a/Tests/UnitTests/Core/Vertexing/AMVFTestData.ipp b/Tests/UnitTests/Core/Vertexing/AMVFTestData.ipp index f16726c13223abc5b99c54ab9d9c3207fa5fca91..efb94b0bed3881f794ec97643fad6db50c4b9845 100644 --- a/Tests/UnitTests/Core/Vertexing/AMVFTestData.ipp +++ b/Tests/UnitTests/Core/Vertexing/AMVFTestData.ipp @@ -24,8 +24,8 @@ using Covariance = Acts::BoundSymMatrix; GeometryContext gctx = GeometryContext(); // Return all tracks of one single event as reconstructed in athena. -std::vector<const BoundParameters> getAthenaTracks() { - std::vector<const BoundParameters> tracks; +std::vector<BoundParameters> getAthenaTracks() { + std::vector<BoundParameters> tracks; std::shared_ptr<PerigeeSurface> perigeeSurface = Surface::makeShared<PerigeeSurface>(Vector3D(0, 0, 0)); diff --git a/Tests/UnitTests/Core/Vertexing/AdaptiveMultiVertexFinderTests.cpp b/Tests/UnitTests/Core/Vertexing/AdaptiveMultiVertexFinderTests.cpp index a43117db22b58a522b5340c2e9968d3910f5aca0..105c59607d349d20486621ca7a05e116fa4c1277 100644 --- a/Tests/UnitTests/Core/Vertexing/AdaptiveMultiVertexFinderTests.cpp +++ b/Tests/UnitTests/Core/Vertexing/AdaptiveMultiVertexFinderTests.cpp @@ -101,7 +101,7 @@ BOOST_AUTO_TEST_CASE(adaptive_multi_vertex_finder_test) { Finder finder(finderConfig); - std::vector<const BoundParameters> tracks = getAthenaTracks(); + auto tracks = getAthenaTracks(); if (debugMode) { std::cout << "Number of tracks in event: " << tracks.size() << std::endl; diff --git a/Tests/UnitTests/Core/Vertexing/AdaptiveMultiVertexFitterTests.cpp b/Tests/UnitTests/Core/Vertexing/AdaptiveMultiVertexFitterTests.cpp index 5d482bf36f2aa09220531b60002acf41899e9fe4..92a38873ced4d333f8276f797906d486416094a3 100644 --- a/Tests/UnitTests/Core/Vertexing/AdaptiveMultiVertexFitterTests.cpp +++ b/Tests/UnitTests/Core/Vertexing/AdaptiveMultiVertexFitterTests.cpp @@ -135,7 +135,7 @@ BOOST_AUTO_TEST_CASE(adaptive_multi_vertex_fitter_test) { vtxPtrList.push_back(&vtx); } - std::vector<const BoundParameters> allTracks; + std::vector<BoundParameters> allTracks; unsigned int nTracksPerVtx = 4; // Construct nTracksPerVtx * 3 (3 vertices) random track emerging