From 0f0e501941d4c8cb4b0511df984e074f00d734d8 Mon Sep 17 00:00:00 2001 From: even1024 Date: Wed, 18 Dec 2024 01:55:21 +0100 Subject: [PATCH] clang fix --- core/indigo-core/molecule/src/molecule_cdxml_loader.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/core/indigo-core/molecule/src/molecule_cdxml_loader.cpp b/core/indigo-core/molecule/src/molecule_cdxml_loader.cpp index 3a563acc71..c9e5e6cee6 100644 --- a/core/indigo-core/molecule/src/molecule_cdxml_loader.cpp +++ b/core/indigo-core/molecule/src/molecule_cdxml_loader.cpp @@ -1593,8 +1593,8 @@ void MoleculeCdxmlLoader::_parseGraphic(BaseCDXElement& elem) void MoleculeCdxmlLoader::_parseArrow(BaseCDXElement& elem) { Rect2f text_bbox; - Vec2f begin_pos; - Vec2f end_pos; + Vec3f begin_pos; + Vec3f end_pos; std::string fill_type; std::string arrow_head; std::string head_type; @@ -1638,8 +1638,7 @@ void MoleculeCdxmlLoader::_parseArrow(BaseCDXElement& elem) ar_type = ReactionComponent::ARROW_BOTH_ENDS_FILLED_TRIANGLE; } } - - _arrows[arrow_id] = (std::make_pair(std::make_pair(begin_pos, end_pos), ar_type)); + _arrows[arrow_id] = std::make_pair(std::make_pair(begin_pos, end_pos), ar_type); } }