From 6cde041c8f14b720afd0c617d1eef765a1f79b65 Mon Sep 17 00:00:00 2001 From: ChunelFeng Date: Sun, 20 Aug 2023 23:56:52 +0800 Subject: [PATCH] [bugfix] GSome support windows. --- src/GraphCtrl/GraphElement/GGroup/GGroup.h | 1 - src/GraphCtrl/GraphElement/GGroup/GSome/GSome.inl | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/GraphCtrl/GraphElement/GGroup/GGroup.h b/src/GraphCtrl/GraphElement/GGroup/GGroup.h index f2fad735..2acc427b 100644 --- a/src/GraphCtrl/GraphElement/GGroup/GGroup.h +++ b/src/GraphCtrl/GraphElement/GGroup/GGroup.h @@ -13,7 +13,6 @@ #include "GGroupDefine.h" #include "../GElement.h" -#include "../../GraphParam/GParamInclude.h" CGRAPH_NAMESPACE_BEGIN diff --git a/src/GraphCtrl/GraphElement/GGroup/GSome/GSome.inl b/src/GraphCtrl/GraphElement/GGroup/GSome/GSome.inl index 30e669d1..d8fe28b6 100644 --- a/src/GraphCtrl/GraphElement/GGroup/GSome/GSome.inl +++ b/src/GraphCtrl/GraphElement/GGroup/GSome/GSome.inl @@ -23,7 +23,7 @@ CStatus GSome::addElement(GElementPtr element) { CGRAPH_RETURN_ERROR_STATUS("GSome can insert async node only current.") } - group_elements_arr_.template emplace_back(element); + group_elements_arr_.emplace_back(element); CGRAPH_FUNCTION_END }