From 640dc7cf5a7567036a369dbe7ebb52c70111a6aa Mon Sep 17 00:00:00 2001 From: tpaviot Date: Tue, 3 Nov 2020 15:48:11 +0100 Subject: [PATCH] [g++-warning-fix] Fix ambiguous parenthesis in SvgSerializer.cpp --- src/serializers/SvgSerializer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/serializers/SvgSerializer.cpp b/src/serializers/SvgSerializer.cpp index 0fd71c7709..35c7259522 100644 --- a/src/serializers/SvgSerializer.cpp +++ b/src/serializers/SvgSerializer.cpp @@ -461,7 +461,7 @@ void SvgSerializer::write(const geometry_data& data) { Logger::Error(e); } - if (operation_type && (*operation_type == "SINGLE_SWING_LEFT") || (*operation_type == "SINGLE_SWING_RIGHT")) { + if (operation_type && ((*operation_type == "SINGLE_SWING_LEFT") || (*operation_type == "SINGLE_SWING_RIGHT"))) { const bool is_left = *operation_type == "SINGLE_SWING_LEFT"; Bnd_Box bb;