aboutsummaryrefslogtreecommitdiff
path: root/src/tree.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/tree.h')
-rw-r--r--src/tree.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/tree.h b/src/tree.h
index 186f162..e2eb7a6 100644
--- a/src/tree.h
+++ b/src/tree.h
@@ -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_;