Description: Declare operator as const to fix gcc11 FTBFS
Author: Nilesh Patra <nilesh@debian.org>
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=984370
Last-Update: 2021-10-31
--- a/external/freebayes/src/AlleleParser.h
+++ b/external/freebayes/src/AlleleParser.h
@@ -130,7 +130,7 @@
 
 class AllelePositionCompare {
 public:
-  bool operator()(const Allele& a, const Allele& b) {
+  bool operator()(const Allele& a, const Allele& b) const {
     if (a.position < b.position)
       return true;
     if (a.position > b.position)
