mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-01 07:46:11 +00:00
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:
parent
8511b9b0cd
commit
8b214ce992
@ -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