You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not urgent, just to keep track of the warning until we fix it or charmdet is removed.
charmdet/ShipPixelHit.cxx: In constructor 'ShipPixelHit::ShipPixelHit(Int_t, Float_t)':
charmdet/ShipPixelHit.cxx:17:54: warning: declaration of 'detID' shadows a member of 'ShipPixelHit' [-Wshadow]
ShipPixelHit::ShipPixelHit(Int_t detID, Float_t digi) : ShipHit(detID, digi) {
^
In file included from charmdet/ShipPixelHit.cxx:1:0:
charmdet/ShipPixelHit.h:37:12: note: shadowed declaration is here
int32_t detID;
^~~~~
charmdet/ShipPixelHit.cxx: In member function 'void ShipPixelHit::GetPixelXYZ(TVector3&, int)':
charmdet/ShipPixelHit.cxx:49:58: warning: declaration of 'detID' shadows a member of 'ShipPixelHit' [-Wshadow]
void ShipPixelHit::GetPixelXYZ(TVector3 &pixel, int detID) { //, std::shared_ptr <std::unordered_map<int, TVector3>> PixelPositionMap
^
In file included from charmdet/ShipPixelHit.cxx:1:0:
charmdet/ShipPixelHit.h:37:12: note: shadowed declaration is here
int32_t detID;
^~~~~
The text was updated successfully, but these errors were encountered:
Not urgent, just to keep track of the warning until we fix it or charmdet is removed.
The text was updated successfully, but these errors were encountered: