mirror of
https://github.com/transmission/transmission.git
synced 2025-12-19 18:08:31 +00:00
chore: compatibility with clang-format 20 to 21 (#7499)
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
|
||||
@class BlocklistDownloaderViewController;
|
||||
|
||||
typedef NS_ENUM(NSUInteger, BlocklistDownloadState) { //
|
||||
typedef NS_ENUM(NSUInteger, BlocklistDownloadState) {
|
||||
BlocklistDownloadStateStart,
|
||||
BlocklistDownloadStateDownloading,
|
||||
BlocklistDownloadStateProcessing
|
||||
|
||||
@@ -258,13 +258,15 @@ static NSString* const kWebSeedAnimationId = @"webSeed";
|
||||
}
|
||||
}
|
||||
|
||||
- (NSString*)connectedTextFrom:(NSUInteger)tracker //
|
||||
// clang-format off: compatibility with unnamed arguments
|
||||
- (NSString*)connectedTextFrom:(NSUInteger)tracker
|
||||
:(NSUInteger)incoming
|
||||
:(NSUInteger)cache
|
||||
:(NSUInteger)lpd
|
||||
:(NSUInteger)pex
|
||||
:(NSUInteger)dht
|
||||
:(NSUInteger)ltep
|
||||
// clang-format on
|
||||
{
|
||||
NSMutableArray* fromComponents = [NSMutableArray arrayWithCapacity:7];
|
||||
if (tracker > 0)
|
||||
|
||||
Reference in New Issue
Block a user