aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2009-06-20 21:53:41 +0000
committerDavid Robillard <d@drobilla.net>2009-06-20 21:53:41 +0000
commite8956cfec7a9849a04ef91e517cd6bd0051607cd (patch)
treed08396860511fc39a05ea3b299e019c08053709d
parentbd935db56f35d035c5c73514941c47e0e66f2fc9 (diff)
downloadresp-e8956cfec7a9849a04ef91e517cd6bd0051607cd.tar.gz
resp-e8956cfec7a9849a04ef91e517cd6bd0051607cd.tar.bz2
resp-e8956cfec7a9849a04ef91e517cd6bd0051607cd.zip
Remove useless AType constructor.
git-svn-id: http://svn.drobilla.net/resp/tuplr@144 ad02d1e2-f140-0410-9f75-f8b11f17cedd
-rw-r--r--tuplr.hpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/tuplr.hpp b/tuplr.hpp
index acf1cec..2d2886e 100644
--- a/tuplr.hpp
+++ b/tuplr.hpp
@@ -279,20 +279,6 @@ struct AType : public ATuple {
push_back(a);
va_end(args);
}
- AType(const AType& copy) : ATuple(copy.loc), kind(copy.kind), id(copy.id) {
- for (AType::const_iterator i = copy.begin(); i != copy.end(); ++i) {
- AType* typ = (*i)->to<AType*>();
- if (typ) {
- push_back(new AType(*typ));
- continue;
- }
- ATuple* tup = (*i)->to<ATuple*>();
- if (tup)
- push_back(new ATuple(*tup));
- else
- push_back(*i);
- }
- }
CValue compile(CEnv& cenv) { return NULL; }
bool var() const { return kind == VAR; }
bool concrete() const {