diff options
Diffstat (limited to 'src/tree.h')
-rw-r--r-- | src/tree.h | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -18,9 +18,10 @@ class Tree { std::string print() const; private: - template <class NType, typename... Args> - Node* addNode(Node**, Args&&... args); - Node* buildTree(std::string); + template <class NodeType, typename... Args> + Node* addNode(Args&&... args); + + Node* buildTree(const std::string&); const std::string term_; const ConstantMap* constants_; |