Skip to content

Commit 675e1cb

Browse files
author
Robert Thompson
committed
Remove incorrect CF_RETURNS_RETAINED
1 parent bdaad69 commit 675e1cb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CoreFoundation/Parsing.subproj/CFXMLInterface.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ CFStringRef _Nullable _CFXMLDTDNodeCopyPublicID(_CFXMLDTDNodePtr node);
234234
void _CFXMLDTDNodeSetPublicID(_CFXMLDTDNodePtr node, const unsigned char* _Nullable publicID);
235235

236236
// Namespaces
237-
CF_RETURNS_RETAINED _CFXMLNodePtr _Nonnull * _Nullable _CFXMLNamespaces(_CFXMLNodePtr node, CFIndex* count);
237+
_CFXMLNodePtr _Nonnull * _Nullable _CFXMLNamespaces(_CFXMLNodePtr node, CFIndex* count);
238238
void _CFXMLSetNamespaces(_CFXMLNodePtr node, _CFXMLNodePtr _Nonnull * _Nullable nodes, CFIndex count);
239239
CFStringRef _Nullable _CFXMLNamespaceCopyValue(_CFXMLNodePtr node);
240240
void _CFXMLNamespaceSetValue(_CFXMLNodePtr node, const char* _Nullable value, int64_t length);

Foundation/NSXMLNode.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -705,7 +705,7 @@ open class XMLNode: NSObject, NSCopying {
705705
@abstract The representation of this node as it would appear in an XML document.
706706
*/
707707
open var xmlString: String {
708-
return xmlString()
708+
return xmlString(options: [])
709709
}
710710

711711
/*!

0 commit comments

Comments
 (0)