Skip to content

Commit 32c113b

Browse files
committed
Swift: Fix following merge with main.
1 parent 68354c0 commit 32c113b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

swift/ql/test/query-tests/Security/CWE-022/testPathInjection.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ class NSString {
4343

4444
var utf8String: UnsafePointer<CChar>? { get { return nil } }
4545
}
46-
47-
class Data {
46+
protocol DataProtocol { }
47+
class Data : DataProtocol {
4848
struct ReadingOptions : OptionSet { let rawValue: Int }
4949
struct WritingOptions : OptionSet { let rawValue: Int }
5050

0 commit comments

Comments
 (0)