Revision: 13884
http://sourceforge.net/p/skim-app/code/13884
Author: hofman
Date: 2023-12-11 15:53:33 +0000 (Mon, 11 Dec 2023)
Log Message:
-----------
no need to check NSShouldRetainWithZone, as the zone should always be the
default zone
Modified Paths:
--------------
trunk/SKVersionNumber.m
Modified: trunk/SKVersionNumber.m
===================================================================
--- trunk/SKVersionNumber.m 2023-12-11 15:20:57 UTC (rev 13883)
+++ trunk/SKVersionNumber.m 2023-12-11 15:53:33 UTC (rev 13884)
@@ -188,10 +188,7 @@
- (instancetype)copyWithZone:(NSZone *)zone;
{
- if (NSShouldRetainWithZone(self, zone))
- return [self retain];
- else
- return [[[self class] allocWithZone:zone]
initWithVersionString:originalVersionString];
+ return [self retain];
}
#pragma mark Comparison
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit