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

This fixes a known problem with class variables declared in a method's context definition were not having their destructors called.
This commit is contained in:
Paul Gilbert 2012-05-13 18:51:41 +10:00
parent bd5b65f007
commit 2341570e04

View File

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