From 134da5e56956233a536471f4dd394b334d0cf872 Mon Sep 17 00:00:00 2001 From: Ivan Razumov Date: Mon, 27 Nov 2023 12:07:11 +0100 Subject: [PATCH] Fix deprecated-copy warnings in MagneticField/ParametrizedEngine --- MagneticField/ParametrizedEngine/src/rz_harm_poly.h | 1 - 1 file changed, 1 deletion(-) diff --git a/MagneticField/ParametrizedEngine/src/rz_harm_poly.h b/MagneticField/ParametrizedEngine/src/rz_harm_poly.h index d197892619c69..731c1e9852115 100644 --- a/MagneticField/ParametrizedEngine/src/rz_harm_poly.h +++ b/MagneticField/ParametrizedEngine/src/rz_harm_poly.h @@ -17,7 +17,6 @@ namespace magfieldparam { double SinPhi; trig_pair() : CosPhi(1.), SinPhi(0.) {} - trig_pair(const trig_pair &tp) : CosPhi(tp.CosPhi), SinPhi(tp.SinPhi) {} trig_pair(const double C, const double S) : CosPhi(C), SinPhi(S) {} trig_pair(const double phi) : CosPhi(cos(phi)), SinPhi(sin(phi)) {}