Commit in lcio/src/cpp/include/UTIL on MAIN
LCFourVector.icc+9-41.4 -> 1.5
fixed syntax for template specialization for gcc-4.x

lcio/src/cpp/include/UTIL
LCFourVector.icc 1.4 -> 1.5
diff -u -r1.4 -r1.5
--- LCFourVector.icc	27 May 2005 07:55:54 -0000	1.4
+++ LCFourVector.icc	22 Sep 2005 12:28:09 -0000	1.5
@@ -20,14 +20,17 @@
 
 
   // specializations for the different LCObjects that have 4 vector information
-  LCFourVector<MCParticle>::LCFourVector<MCParticle>( const MCParticle* mcPart ) : 
+
+  template<>
+  LCFourVector<MCParticle>::LCFourVector( const MCParticle* mcPart ) : 
     HepLorentzVector(mcPart->getMomentum()[0],
 		     mcPart->getMomentum()[1],
 		     mcPart->getMomentum()[2],
 		     mcPart->getEnergy() )  
   {
   }
-  LCFourVector<MCParticle>::LCFourVector<MCParticle>(LCObject* lcObj){
+  template<>
+  LCFourVector<MCParticle>::LCFourVector(LCObject* lcObj){
     
     _lcObj = dynamic_cast<MCParticle* >( lcObj ) ;
 
@@ -43,14 +46,16 @@
     //    setE( _lcObj->getEnergy() )  ;
   }
 
-  LCFourVector<ReconstructedParticle>::LCFourVector<ReconstructedParticle>( const ReconstructedParticle* part ) : 
+  template<>
+  LCFourVector<ReconstructedParticle>::LCFourVector( const ReconstructedParticle* part ) : 
     HepLorentzVector(part->getMomentum()[0],
 		     part->getMomentum()[1],
 		     part->getMomentum()[2],
 		     part->getEnergy() )  
   {
   }
-  LCFourVector<ReconstructedParticle>::LCFourVector<ReconstructedParticle>(LCObject* lcObj){
+  template<>
+  LCFourVector<ReconstructedParticle>::LCFourVector(LCObject* lcObj){
     
     _lcObj = dynamic_cast<ReconstructedParticle* >( lcObj ) ;
 
CVSspam 0.2.8