Skip to content

Commit 49dcb08

Browse files
Merge branch 'master' of vithanco:Vithanco/SwiftGraph
# Conflicts: # Sources/SwiftGraph/Graph.swift
2 parents 43cca35 + ad7a2eb commit 49dcb08

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Sources/SwiftGraph/Graph.swift

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,9 @@ extension Graph {
4040
return edges.joined().count
4141
}
4242

43-
@available(*, deprecated, renamed: "addEdge", message: "Use the addEdge method without the additional directed parameter instead, as the Edge contains already the information about direction. A double specification can only result in inconsistencies and errors.")
44-
func addEdge(_ e: E, directed: Bool) {
43+
44+
@available(*, deprecated, renamed: "addEdge(_:)", message: "Use the 'addEdge' method without the additional 'directed' parameter instead, as the Edge already contains the information about direction.")
45+
func addEdge(_ e: E, directed: Bool){
4546
addEdge(e)
4647
}
4748

0 commit comments

Comments
 (0)