COMMON: Converted Coro context structure definitions to instead use classes.

This fixes a problem with member variables declared in a method's context definition that are object instances were not having their destructors called.
This commit is contained in:
Paul Gilbert 2012-05-13 18:51:41 +10:00
parent 8511b9b0cd
commit 8b214ce992

View File

@ -57,7 +57,7 @@ struct CoroBaseContext {
const char *_funcName;
#endif
CoroBaseContext(const char *func);
~CoroBaseContext();
virtual ~CoroBaseContext();
};
typedef CoroBaseContext *CoroContext;