]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
copy constructor changed with usage of = operator
authorivana <ivana@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 2 May 2001 10:26:38 +0000 (10:26 +0000)
committerivana <ivana@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 2 May 2001 10:26:38 +0000 (10:26 +0000)
TGeant4/TG4VSensitiveDetector.cxx

index 15c994a8d1d93a79e555285f2bf2acae2882bac8..c923eb5e8b8ad5c3ef6f9de313c2a555031d79ca 100644 (file)
@@ -31,8 +31,8 @@ TG4VSensitiveDetector::TG4VSensitiveDetector(
   : G4VSensitiveDetector(right)
 {                                  
 //
-  fID = right.fID;
-  fStepManager = right.fStepManager;
+  // copy stuff
+  *this = right;
 
   ++fgSDCounter;;
 }