mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 09:21:46 +00:00
[g++-warning-fix] Fix ambiguous parenthesis in SvgSerializer.cpp
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user