diff --git a/src/headers/parsing/ParseComponents.hpp b/src/headers/parsing/ParseComponents.hpp index 218b7e4..225839e 100644 --- a/src/headers/parsing/ParseComponents.hpp +++ b/src/headers/parsing/ParseComponents.hpp @@ -97,11 +97,6 @@ public: ParseTree(): subComponents() {}; IS_PARSECOMPONENT constexpr explicit ParseTree(const T& element): ParseTree() { addComponent(element); } IS_PARSECOMPONENT constexpr ParseTree(const initializer_list& elements): ParseTree() { addAllComponents(elements); } - ParseTree(const initializer_list& elements): ParseTree() { - for_each(elements.begin(), elements.end(), [&](ParseComponent* component){ - subComponents.emplace_back(component); - }); - } }; #undef IS_PARSECOMPONENT