From fcfa33a14fc309984880b535b9f9b4fcfc316466 Mon Sep 17 00:00:00 2001 From: kat Date: Tue, 3 Jan 2023 14:29:32 -0500 Subject: Allow DataVariables to be added to Components --- function.cpp | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'function.cpp') diff --git a/function.cpp b/function.cpp index 04318393..c9314968 100644 --- a/function.cpp +++ b/function.cpp @@ -1512,24 +1512,6 @@ set Function::GetHighLevelILSSAVariablesIfAvailable() } -std::vector> Function::GetParentComponents() const -{ - std::vector> components; - - size_t count; - BNComponent** list = BNGetFunctionParentComponents(m_object, &count); - - components.reserve(count); - for (size_t i = 0; i < count; i++) - { - Ref component = new Component(list[i]); - components.push_back(component); - } - - return components; -} - - void Function::CreateAutoVariable( const Variable& var, const Confidence>& type, const string& name, bool ignoreDisjointUses) { -- cgit v1.3.1