aboutsummaryrefslogtreecommitdiff
path: root/types.cpp
diff options
context:
space:
mode:
authorTeddy <ted.sybil@gmail.com>2013-08-17 16:09:12 +0800
committerTeddy <ted.sybil@gmail.com>2013-08-17 16:09:12 +0800
commitee6d835fe2e8b88b79f35f54684acb8035b527a1 (patch)
treeb9840d910504da3cd43046572e9f8c770498b360 /types.cpp
parent5e16df071dfd41659b296dfde067749ef216a47c (diff)
...
Diffstat (limited to 'types.cpp')
-rw-r--r--types.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/types.cpp b/types.cpp
index 331dc4b..5b7f23b 100644
--- a/types.cpp
+++ b/types.cpp
@@ -486,9 +486,9 @@ EvalObj *VectReprCons::next(const string &prev) {
}
}
-PromObj::PromObj(EvalObj *exp) :
+PromObj::PromObj(EvalObj *_exp) :
Container(CLS_SIM_OBJ | CLS_PROM_OBJ),
-exp(new Pair(exp, empty_list)), mem(NULL) {
+exp(new Pair(_exp, empty_list)), mem(NULL) {
gc.attach(exp);
exp->next = NULL;
}