Remove a useless constructor in the ParseTree class
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
This commit is contained in:
parent
eb18940364
commit
0e7fc913bb
|
@ -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<T>& elements): ParseTree() { addAllComponents(elements); }
|
||||
ParseTree(const initializer_list<ParseComponent*>& elements): ParseTree() {
|
||||
for_each(elements.begin(), elements.end(), [&](ParseComponent* component){
|
||||
subComponents.emplace_back(component);
|
||||
});
|
||||
}
|
||||
};
|
||||
#undef IS_PARSECOMPONENT
|
||||
|
||||
|
|
Loading…
Reference in New Issue