diff options
-rw-r--r-- | types.cpp | 4 | ||||
-rw-r--r-- | types.h | 2 |
2 files changed, 3 insertions, 3 deletions
@@ -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; } @@ -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 */ |