2
0

Prefix versions with V to fix a Swift enum naming import issue.

This commit is contained in:
Maarten Billemont
2019-10-10 11:48:35 -04:00
parent 2af71fbc34
commit aec5e371b8
7 changed files with 37 additions and 37 deletions

View File

@@ -50,7 +50,7 @@ static NSOperationQueue *_mpwQueue = nil;
- (MPAlgorithmVersion)version {
return MPAlgorithmVersion0;
return MPAlgorithmVersionV0;
}
- (NSString *)description {

View File

@@ -23,7 +23,7 @@
- (MPAlgorithmVersion)version {
return MPAlgorithmVersion1;
return MPAlgorithmVersionV1;
}
- (BOOL)tryMigrateSite:(MPSiteEntity *)site explicit:(BOOL)explicit {

View File

@@ -23,7 +23,7 @@
- (MPAlgorithmVersion)version {
return MPAlgorithmVersion2;
return MPAlgorithmVersionV2;
}
- (BOOL)tryMigrateSite:(MPSiteEntity *)site explicit:(BOOL)explicit {

View File

@@ -23,7 +23,7 @@
- (MPAlgorithmVersion)version {
return MPAlgorithmVersion3;
return MPAlgorithmVersionV3;
}
- (BOOL)tryMigrateSite:(MPSiteEntity *)site explicit:(BOOL)explicit {

View File

@@ -136,7 +136,7 @@
return MPAlgorithmForVersion(
MIN( MPAlgorithmVersionCurrent,
MAX( MPAlgorithmVersion0, (MPAlgorithmVersion)[self.version_ unsignedIntegerValue] ) ) );
MAX( MPAlgorithmVersionV0, (MPAlgorithmVersion)[self.version_ unsignedIntegerValue] ) ) );
}
- (void)setAlgorithm:(id<MPAlgorithm>)algorithm {
@@ -368,7 +368,7 @@
return MPAlgorithmForVersion(
MIN( MPAlgorithmVersionCurrent,
MAX( MPAlgorithmVersion0, (MPAlgorithmVersion)[self.version_ unsignedIntegerValue] ) ) );
MAX( MPAlgorithmVersionV0, (MPAlgorithmVersion)[self.version_ unsignedIntegerValue] ) ) );
}
- (void)setAlgorithm:(id<MPAlgorithm>)version {