mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-21 19:51:49 +00:00
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:
parent
bd5b65f007
commit
2341570e04
@ -57,7 +57,7 @@ struct CoroBaseContext {
|
||||
const char *_funcName;
|
||||
#endif
|
||||
CoroBaseContext(const char *func);
|
||||
~CoroBaseContext();
|
||||
virtual ~CoroBaseContext();
|
||||
};
|
||||
|
||||
typedef CoroBaseContext *CoroContext;
|
||||
|
Loading…
x
Reference in New Issue
Block a user