From: Konstantinos Margaritis Date: Fri, 16 Sep 2022 11:02:53 +0000 (+0300) Subject: clang 14 does not allow bitwise OR for bools X-Git-Tag: vectorscan/5.4.9~1^2~1^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0e0147ec5c138c51673c7ddbfe3af88d852bbc33;p=thirdparty%2Fvectorscan.git clang 14 does not allow bitwise OR for bools --- diff --git a/src/nfagraph/ng_misc_opt.cpp b/src/nfagraph/ng_misc_opt.cpp index d0f1f029..2b898cf7 100644 --- a/src/nfagraph/ng_misc_opt.cpp +++ b/src/nfagraph/ng_misc_opt.cpp @@ -385,8 +385,7 @@ bool improveGraph(NGHolder &g, som_type som) { const vector ordering = getTopoOrdering(g); - return enlargeCyclicCR(g, som, ordering) - | enlargeCyclicCR_rev(g, ordering); + return enlargeCyclicCR(g, som, ordering) || enlargeCyclicCR_rev(g, ordering); } /** finds a smaller reachability for a state by the reverse transformation of