[Rivet-svn] r2928 - trunk/include/Rivet

blackhole at projects.hepforge.org blackhole at projects.hepforge.org
Fri Feb 11 15:27:38 GMT 2011


Author: hoeth
Date: Fri Feb 11 15:27:37 2011
New Revision: 2928

Log:
workaround/fix for strange g++ behaviour when -std=c++0x is used

Modified:
   trunk/include/Rivet/ParticleName.hh

Modified: trunk/include/Rivet/ParticleName.hh
==============================================================================
--- trunk/include/Rivet/ParticleName.hh	Thu Feb 10 14:31:27 2011	(r2927)
+++ trunk/include/Rivet/ParticleName.hh	Fri Feb 11 15:27:37 2011	(r2928)
@@ -151,7 +151,7 @@
 
   /// Convenience maker of particle ID pairs from PdgIds.
   inline std::pair<PdgId,PdgId> make_pdgid_pair(PdgId a, PdgId b) {
-    return make_pair<PdgId,PdgId>(a, b);
+    return make_pair(a, b);
   }
 
 
@@ -159,7 +159,7 @@
   inline std::pair<PdgId,PdgId> make_pdgid_pair(const std::string& a, const std::string& b) {
     const PdgId pa = toParticleId(a);
     const PdgId pb = toParticleId(b);
-    return make_pair<PdgId,PdgId>(pa, pb);
+    return make_pair(pa, pb);
   }
 
 


More information about the Rivet-svn mailing list