1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-11-26 08:49:37 +00:00

It appears ARC extends its reach into C++ nowadays. Fixed additional retain cycle.

This commit is contained in:
Thomas Harte 2015-07-27 21:17:53 -04:00
parent 3c25ead1f3
commit 828ae66a45

View File

@ -14,7 +14,7 @@
@end @end
struct Atari2600CRTDelegate: public Outputs::CRT::CRTDelegate { struct Atari2600CRTDelegate: public Outputs::CRT::CRTDelegate {
CSAtari2600 *atari; __weak CSAtari2600 *atari;
void crt_did_end_frame(Outputs::CRT *crt, CRTFrame *frame) { [atari crtDidEndFrame:frame]; } void crt_did_end_frame(Outputs::CRT *crt, CRTFrame *frame) { [atari crtDidEndFrame:frame]; }
}; };
@ -62,8 +62,4 @@ struct Atari2600CRTDelegate: public Outputs::CRT::CRTDelegate {
return self; return self;
} }
- (void)dealloc {
NSLog(@"");
}
@end @end