Package: spades / 3.13.1+dfsg-2

fix-bool-cast Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
From: Michael R. Crusoe <michael.crusoe@gmail.com>
Subject: Make explicit cast to bool
--- a/assembler/src/common/func/pred.hpp
+++ b/assembler/src/common/func/pred.hpp
@@ -33,7 +33,7 @@
                 : data_(std::move(p)) { }
 
         virtual bool operator()(T x) const override {
-            return data_(x);
+            return (bool) data_(x);
         }
 
         P data_;