Skip to content
Snippets Groups Projects

Patch to enable building Rivet 2.5.4 with Clang 6

Merged Ivan Razumov requested to merge rivet-2.5.4-clang into master
1 file
+ 30
0
Compare changes
  • Side-by-side
  • Inline
patch written by GENSER to avoid system libraries of GLS coming from fastjet-config
--- include/Rivet/Tools/JetUtils.hh
+++ include/Rivet/Tools/JetUtils.hh
@@ -47,4 +47,5 @@
struct BoolJetFunctor {
virtual bool operator()(const Jet& p) const = 0;
+ virtual ~BoolJetFunctor() {}
};
--- include/Rivet/Tools/ParticleBaseUtils.hh
+++ include/Rivet/Tools/ParticleBaseUtils.hh
@@ -23,4 +23,5 @@
struct BoolParticleBaseFunctor {
virtual bool operator()(const ParticleBase& p) const = 0;
+ virtual ~BoolParticleBaseFunctor() {}
};
@@ -397,4 +398,5 @@
struct DoubleParticleBaseFunctor {
virtual double operator()(const ParticleBase& p) const = 0;
+ virtual ~DoubleParticleBaseFunctor() {}
};
--- include/Rivet/Tools/ParticleUtils.hh
+++ include/Rivet/Tools/ParticleUtils.hh
@@ -486,4 +486,5 @@
struct BoolParticleFunctor {
virtual bool operator()(const Particle& p) const = 0;
+ virtual ~BoolParticleFunctor() {}
};
--- src/Makefile.in.orig 2018-01-30 13:52:58.641670247 +0100
+++ src/Makefile.in 2018-01-30 13:53:19.377586118 +0100
@@ -449,7 +449,7 @@
Loading