Skip to content

Commit 355869b

Browse files
authored
Merge pull request #13 from kyleishie/master
XMLHeader updates
2 parents 8c760e9 + ba3439e commit 355869b

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

Sources/XMLCoding/XMLStackParser.swift

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,7 @@ public struct XMLHeader {
2424
/// indicates whetehr a document relies on information from an external source.
2525
var standalone: String? = nil
2626

27-
init(version: Double? = nil) {
28-
self.version = version
29-
}
30-
31-
init(version: Double?, encoding: String?, standalone: String? = nil) {
27+
public init(version: Double? = nil, encoding: String? = nil, standalone: String? = nil) {
3228
self.version = version
3329
self.encoding = encoding
3430
self.standalone = standalone

0 commit comments

Comments
 (0)