[g++-warning-fix] Fix ambiguous parenthesis in SvgSerializer.cpp

This commit is contained in:
tpaviot
2020-11-03 15:48:11 +01:00
committed by Thomas Krijnen
parent 28d9bccb6e
commit 640dc7cf5a
+1 -1
View File
@@ -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;