Skip to content

Commit e44163b

Browse files
author
erichmzhang
committed
Fix problem that some configuration does not work
1 parent 72ec1b5 commit e44163b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

QCloudCOSXML/Classes/Base/QCloudCOSXMLEndPoint.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ - (NSURL*) serverURLWithBucket:(NSString *)bucket appID:(NSString *)appID
6363
}
6464

6565
- (id)copyWithZone:(NSZone *)zone {
66-
QCloudCOSXMLEndPoint* endpoint = [[QCloudCOSXMLEndPoint alloc] init];
66+
QCloudCOSXMLEndPoint* endpoint = [super copyWithZone:nil];
6767
endpoint.regionName = self.regionName;
6868
endpoint.serviceName = self.serviceName;
6969
return endpoint;

0 commit comments

Comments
 (0)