Skip to content
Snippets Groups Projects
Commit f2d537f8 authored by Thomas Madlener's avatar Thomas Madlener
Browse files

Remove default argument values from friend member functions

gcc 9.3.0 flags these as errors (-fpermissive), because a friend declaration
with default arguments must also be a definition.
parent 6bc9d2d2
No related branches found
No related tags found
No related merge requests found
...@@ -55,26 +55,26 @@ namespace dd4hep { ...@@ -55,26 +55,26 @@ namespace dd4hep {
class GenfitTrack { class GenfitTrack {
friend int GenfitFitter::processTrack( friend int GenfitFitter::processTrack(
GenfitTrack* track, bool resort=false); GenfitTrack* track, bool resort);
friend int GenfitFitter::processTrackWithRep( friend int GenfitFitter::processTrackWithRep(
GenfitTrack* track, int repID=0, bool resort=false); GenfitTrack* track, int repID, bool resort);
friend double GenfitFitter::extrapolateToHit(TVector3& poca, friend double GenfitFitter::extrapolateToHit(TVector3& poca,
TVector3& pocaDir, TVector3& pocaDir,
TVector3& pocaOnWire, double& doca, const GenfitTrack* track, TVector3& pocaOnWire, double& doca, const GenfitTrack* track,
TVector3 pos, TVector3 mom, TVector3 end0, TVector3 end1, int debug, TVector3 pos, TVector3 mom, TVector3 end0, TVector3 end1, int debug,
int repID=0, bool stopAtBoundary=false, bool calcJacobianNoise=false); int repID, bool stopAtBoundary, bool calcJacobianNoise);
friend double GenfitFitter::extrapolateToCylinder(TVector3& pos, friend double GenfitFitter::extrapolateToCylinder(TVector3& pos,
TVector3& mom, TVector3& mom,
GenfitTrack* track, double radius, const TVector3 linePoint, GenfitTrack* track, double radius, const TVector3 linePoint,
const TVector3 lineDirection, int hitID =0, int repID=0, const TVector3 lineDirection, int hitID, int repID,
bool stopAtBoundary=false, bool calcJacobianNoise=false); bool stopAtBoundary, bool calcJacobianNoise);
friend double GenfitFitter::extrapolateToPoint(TVector3& pos, TVector3& mom, friend double GenfitFitter::extrapolateToPoint(TVector3& pos, TVector3& mom,
const GenfitTrack* genfitTrack, const TVector3& point, int repID=0, const GenfitTrack* genfitTrack, const TVector3& point, int repID,
bool stopAtBoundary = false, bool calcJacobianNoise = false) const; bool stopAtBoundary, bool calcJacobianNoise) const;
public: public:
GenfitTrack(const GenfitField* field, GenfitTrack(const GenfitField* field,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment