Inline the `<<` operator in ParseComponents.hpp
This commit is contained in:
parent
d6de61df99
commit
a3cdf22000
|
@ -89,7 +89,7 @@ public:
|
|||
for (const auto& comp: components) add<T>(comp);
|
||||
}
|
||||
IS_PARSECOMPONENT
|
||||
const ParseTree& operator<<(const T& component) const { add(component); return *this; }
|
||||
inline const ParseTree& operator<<(const T& component) const { add(component); return *this; }
|
||||
ParseTree(): subComponents() {};
|
||||
IS_PARSECOMPONENT
|
||||
explicit ParseTree(const T& element): ParseTree() { add(element); }
|
||||
|
|
Loading…
Reference in New Issue