Skip to content
Snippets Groups Projects
Commit c4b502a3 authored by Oliver Herms's avatar Oliver Herms
Browse files

Merge branch 'adjRIBIn' of github.com:bio-routing/bio-rd into adjRIBIn

parents 72a60cdf f1a52422
No related branches found
No related tags found
No related merge requests found
...@@ -120,7 +120,7 @@ func (r *Route) AddPath(p *Path) { ...@@ -120,7 +120,7 @@ func (r *Route) AddPath(p *Path) {
r.paths = append(r.paths, p) r.paths = append(r.paths, p)
} }
// RemovePath removes path `p` from route `r`. Returns length of path list after removing path `rm` // RemovePath removes path `p` from route `r`. Returns length of path list after removing path `p`
func (r *Route) RemovePath(p *Path) int { func (r *Route) RemovePath(p *Path) int {
if p == nil { if p == nil {
return len(r.paths) return len(r.paths)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment