diff options
author | David Robillard <d@drobilla.net> | 2009-06-20 21:53:41 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2009-06-20 21:53:41 +0000 |
commit | e8956cfec7a9849a04ef91e517cd6bd0051607cd (patch) | |
tree | d08396860511fc39a05ea3b299e019c08053709d | |
parent | bd935db56f35d035c5c73514941c47e0e66f2fc9 (diff) | |
download | resp-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.hpp | 14 |
1 files changed, 0 insertions, 14 deletions
@@ -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 { |