mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
iOS: Call [super init] in LocationHelper's initializer
Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01JZk5y4Fzw811WJoNWZb8Sc
This commit is contained in:
1 parent
99624b7fd4
commit
11a402df6f
1 file changed
+5
-2
@@ -7,8 +7,11 @@
|
||||
|
||||
-(id) init {
|
||||
NSLog(@"LocationHelper::init");
|
||||
locationManager = [[CLLocationManager alloc] init];
|
||||
[locationManager setDelegate:self];
|
||||
self = [super init];
|
||||
if (self) {
|
||||
locationManager = [[CLLocationManager alloc] init];
|
||||
[locationManager setDelegate:self];
|
||||
}
|
||||
return self;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user