aboutsummaryrefslogtreecommitdiff
path: root/tree.h
diff options
context:
space:
mode:
Diffstat (limited to 'tree.h')
-rw-r--r--tree.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/tree.h b/tree.h
index 2a0bb84..b112dcb 100644
--- a/tree.h
+++ b/tree.h
@@ -16,6 +16,9 @@ class Node
public:
Node();
double solve();
+
+ template <class T>
+ double castSolve(Node*);
Node *leftChild;
Node *rightChild;