<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p><font size="+1">Dear Rivet developers,</font></p>
<p><font size="+1">when building code that uses Rivet with gcc8 (but
not when building Rivet itself), <br>
the compiler emits the following error: "Static assertion
failed: comparison object must be invocable as const".<br>
</font></p>
<p><font size="+1">This error can be fixed with the following patch:</font></p>
<p><font size="+1"><tt>---
include/Rivet/AnalysisHandler.hh.orig 2018-07-10
10:39:21.719532209 +0200</tt><tt><br>
</tt><tt>+++ include/Rivet/AnalysisHandler.hh 2018-07-10
10:39:29.225608530 +0200</tt><tt><br>
</tt><tt>@@ -17,7 +17,7 @@</tt><tt><br>
</tt><tt> </tt><tt><br>
</tt><tt> // Needed to make smart pointers compare equivalent
in the STL set</tt><tt><br>
</tt><tt> struct CmpAnaHandle {</tt><tt><br>
</tt><tt>- bool operator() (const AnaHandle& a, const
AnaHandle& b) {</tt><tt><br>
</tt><tt>+ bool operator() (const AnaHandle& a, const
AnaHandle& b) const {</tt><tt><br>
</tt><tt> return a.get() < b.get();</tt><tt><br>
</tt><tt> }</tt><tt><br>
</tt><tt> };</tt></font><font size="+1"><br>
</font></p>
<p><font size="+1">Thanks,<br>
Ivan for the GENSER team<br>
</font></p>
</body>
</html>