Skip to content

Commit 941dea6

Browse files
small improvement, taking default value out.
1 parent ce4996e commit 941dea6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/SwiftGraph/Graph.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ extension Graph {
4141
}
4242

4343
@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 = false){
44+
func addEdge(_ e: E, directed: Bool){
4545
addEdge(e)
4646
}
4747

0 commit comments

Comments
 (0)