From d48cd2c0e9efa974bfe85c361488702e66546c7f Mon Sep 17 00:00:00 2001 From: scott snyder <sss@karma> Date: Mon, 7 Dec 2020 16:21:40 -0500 Subject: [PATCH] DCMathSegmentMaker: Fix compilation with gcc11. Can't use a full template-id as a ctor name with c++20. --- .../DCMathSegmentMaker/src/DCMathSegmentMaker.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MuonSpectrometer/MuonReconstruction/MuonSegmentMakers/MuonSegmentMakerTools/DCMathSegmentMaker/src/DCMathSegmentMaker.cxx b/MuonSpectrometer/MuonReconstruction/MuonSegmentMakers/MuonSegmentMakerTools/DCMathSegmentMaker/src/DCMathSegmentMaker.cxx index 37f2995317c..f00a3da604d 100644 --- a/MuonSpectrometer/MuonReconstruction/MuonSegmentMakers/MuonSegmentMakerTools/DCMathSegmentMaker/src/DCMathSegmentMaker.cxx +++ b/MuonSpectrometer/MuonReconstruction/MuonSegmentMakers/MuonSegmentMakerTools/DCMathSegmentMaker/src/DCMathSegmentMaker.cxx @@ -1821,8 +1821,8 @@ struct IdDataVec { typedef std::vector<Entry> EntryVec; typedef typename EntryVec::iterator EntryIt; - IdDataVec<T>() {} - IdDataVec<T>(const Identifier& i) : id(i) {} + IdDataVec() {} + IdDataVec(const Identifier& i) : id(i) {} Identifier id; EntryVec data; -- GitLab