[Rivet-svn] r3270 - trunk/include/Rivet/Projections

blackhole at projects.hepforge.org blackhole at projects.hepforge.org
Tue Aug 2 10:29:50 BST 2011


Author: fsiegert
Date: Tue Aug  2 10:29:50 2011
New Revision: 3270

Log:
Remove compile warning (unused variable) in ConstLossyFinalState.

Modified:
   trunk/include/Rivet/Projections/ConstLossyFinalState.hh

Modified: trunk/include/Rivet/Projections/ConstLossyFinalState.hh
==============================================================================
--- trunk/include/Rivet/Projections/ConstLossyFinalState.hh	Tue Aug  2 08:39:38 2011	(r3269)
+++ trunk/include/Rivet/Projections/ConstLossyFinalState.hh	Tue Aug  2 10:29:50 2011	(r3270)
@@ -24,7 +24,7 @@
     }
 
     // If operator() returns true, particle is deleted ("lost")
-    bool operator()(const Particle& p) {
+    bool operator()(const Particle&) {
       /// @todo Use a better RNG
       return (rand()/static_cast<double>(RAND_MAX) < _lossFraction);
     }


More information about the Rivet-svn mailing list