Skip to content
Snippets Groups Projects
Commit 144b12f5 authored by clantz's avatar clantz
Browse files

Included hit in the copy constructor

parent e2812a27
No related branches found
No related tags found
No related merge requests found
......@@ -51,6 +51,7 @@ AirHit::AirHit(const AirHit& right)
{
trackID = right.trackID;
pos = right.pos;
hit = right.hit;
energy = right.energy;
momentum = right.momentum;
}
......@@ -62,6 +63,7 @@ const AirHit& AirHit::operator=(const AirHit& right)
{
trackID = right.trackID;
pos = right.pos;
hit = right.hit;
energy = right.energy;
momentum = right.momentum;
return *this;
......
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