Skip to content
Snippets Groups Projects
Commit 75cc87fb authored by Ivan Razumov's avatar Ivan Razumov
Browse files

Test patch for rivet-2.5.4/clang 6.0

parent 0ccb9779
No related branches found
No related tags found
1 merge request!108Patch to enable building Rivet 2.5.4 with Clang 6
Pipeline #592959 passed
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 @@
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment