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:
Henrik RydgårdandClaude Opus 5 committed 2026-08-06 20:56:37 +02:00
1 parent 99624b7fd4
commit 11a402df6f
1 file changed
+5 -2
+5 -2
View File
@@ -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;
}