diff options
author | ajreynol <andrew.j.reynolds@gmail.com> | 2016-11-01 13:20:49 -0500 |
---|---|---|
committer | ajreynol <andrew.j.reynolds@gmail.com> | 2016-11-01 13:20:49 -0500 |
commit | 8e0fce94790249ff7aff84ff4500bb96e2ebb9e9 (patch) | |
tree | 25e65718cff712f13688e452ffc1d4b459cd7367 /src/parser/parser.h | |
parent | 3506b13f4d298095e8405b32b05e838f17dbe809 (diff) |
Working memory leak free version, changes interface to pointers.
Diffstat (limited to 'src/parser/parser.h')
-rw-r--r-- | src/parser/parser.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/parser/parser.h b/src/parser/parser.h index 54f25ae74..52f8dcb86 100644 --- a/src/parser/parser.h +++ b/src/parser/parser.h @@ -501,8 +501,7 @@ public: /** * Create sorts of mutually-recursive datatypes. */ - std::vector<DatatypeType> - mkMutualDatatypeTypes(const std::vector<Datatype>& datatypes); + void mkMutualDatatypeTypes(std::vector<Datatype*>& datatypes, std::vector<DatatypeType>& dtts); /** * Add an operator to the current legal set. |