From ee6d835fe2e8b88b79f35f54684acb8035b527a1 Mon Sep 17 00:00:00 2001 From: Teddy Date: Sat, 17 Aug 2013 16:09:12 +0800 Subject: ... --- types.cpp | 4 ++-- types.h | 2 +- 2 files changed, 3 insertions(+), 3 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; } diff --git a/types.h b/types.h index b66f36b..ba593ac 100644 --- a/types.h +++ b/types.h @@ -354,7 +354,7 @@ class PromObj: public Container {/*{{{*/ EvalObj *mem; public: /** Construct with a delayed expression */ - PromObj(EvalObj *exp); + PromObj(EvalObj *_exp); /** The destructor */ ~PromObj(); /** Get the delayed expression */ -- cgit v1.2.3