From 44e76307ef15a30d089eb52f9152cb0895c2912d Mon Sep 17 00:00:00 2001 From: Adam Wardynski <award@.(B-4.4.46a)> Date: Fri, 19 Nov 2010 11:57:41 +0100 Subject: [PATCH] GCC suggests putting () around && within ||. Let them have it. --- libwccl/values/position.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libwccl/values/position.h b/libwccl/values/position.h index 3283b84..4b5eadc 100644 --- a/libwccl/values/position.h +++ b/libwccl/values/position.h @@ -61,7 +61,7 @@ public: */ bool equals(const Position& other, const SentenceContext& context) const { - return equals(other) || is_outside(context) && other.is_outside(context); + return equals(other) || (is_outside(context) && other.is_outside(context)); } private: -- GitLab