Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
philipphofmann committed Oct 3, 2024
1 parent 03b3891 commit 77a883a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Sources/Sentry/SentryDependencyContainer.m
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ - (SentrySwizzleWrapper *)swizzleWrapper SENTRY_DISABLE_THREAD_SANITIZER(
return _anrTracker;
}

#if SENTRY_UIKIT_AVAILABLE
#if SENTRY_HAS_UIKIT
- (id<SentryANRTracker>)getANRTracker:(NSTimeInterval)timeout
isV2Enabled:(BOOL)isV2Enabled
SENTRY_DISABLE_THREAD_SANITIZER("double-checked lock produce false alarms")
Expand All @@ -371,7 +371,7 @@ - (SentrySwizzleWrapper *)swizzleWrapper SENTRY_DISABLE_THREAD_SANITIZER(
return [self getANRTracker:timeout];
}
}
#endif // SENTRY_UIKIT_AVAILABLE
#endif // SENTRY_HAS_UIKIT

- (SentryNSProcessInfoWrapper *)processInfoWrapper SENTRY_DISABLE_THREAD_SANITIZER(
"double-checked lock produce false alarms")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,9 @@ SENTRY_NO_INIT
#endif // !TARGET_OS_WATCH

- (id<SentryANRTracker>)getANRTracker:(NSTimeInterval)timeout;
#if SENTRY_UIKIT_AVAILABLE
#if SENTRY_HAS_UIKIT
- (id<SentryANRTracker>)getANRTracker:(NSTimeInterval)timeout isV2Enabled:(BOOL)isV2Enabled;
#endif // SENTRY_UIKIT_AVAILABLE
#endif // SENTRY_HAS_UIKIT

#if SENTRY_HAS_METRIC_KIT
@property (nonatomic, strong) SentryMXManager *metricKitManager API_AVAILABLE(
Expand Down

0 comments on commit 77a883a

Please sign in to comment.