diff options
author | David Robillard <d@drobilla.net> | 2010-12-26 17:56:27 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2010-12-26 17:56:27 +0000 |
commit | c698116cf88a9e48085b5741f10db4f8c48e8fe5 (patch) | |
tree | 47da97abac3fe5f8a5db62f1fd1fe72caa5659c5 /src/lift.cpp | |
parent | 1e3f0e31b86b27af0f89bf48281673e6b15ea799 (diff) | |
download | resp-c698116cf88a9e48085b5741f10db4f8c48e8fe5.tar.gz resp-c698116cf88a9e48085b5741f10db4f8c48e8fe5.tar.bz2 resp-c698116cf88a9e48085b5741f10db4f8c48e8fe5.zip |
Remove AType copy constructor.
git-svn-id: http://svn.drobilla.net/resp/resp@354 ad02d1e2-f140-0410-9f75-f8b11f17cedd
Diffstat (limited to 'src/lift.cpp')
-rw-r--r-- | src/lift.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lift.cpp b/src/lift.cpp index 6e1767a..25940f4 100644 --- a/src/lift.cpp +++ b/src/lift.cpp @@ -115,9 +115,9 @@ lift_fn(CEnv& cenv, Code& code, const ATuple* fn) throw() cenv.push(); const AType* type = cenv.type(fn); AType::const_iterator tp = type->prot()->begin(); - List<AType,AType> implProtT; - List<ATuple, const AST> implProt; + List<ATuple, const AST> implProt; + List<AType, const AType> implProtT; // Prepend closure parameter implProt.push_back(cenv.penv.sym("_me")); @@ -130,7 +130,7 @@ lift_fn(CEnv& cenv, Code& code, const ATuple* fn) throw() } cenv.def((*p)->as_symbol(), *p, paramType, NULL); implProt.push_back(*p); - implProtT.push_back(new AType(*paramType)); + implProtT.push_back(paramType); } impl.push_back(implProt); |