aboutsummaryrefslogtreecommitdiffstats
path: root/tuplr.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'tuplr.hpp')
-rw-r--r--tuplr.hpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/tuplr.hpp b/tuplr.hpp
index bcfdc86..89966da 100644
--- a/tuplr.hpp
+++ b/tuplr.hpp
@@ -158,9 +158,6 @@ struct AST {
if (!t) throw Error("internal error: bad cast", loc);
return t;
}
- template<typename T> T* copy() {
- return new T(static_cast<T*>(this));
- }
Cursor loc;
private:
friend class CEnv;