This commit is contained in:
-pthread -Wall
2023-09-26 14:18:18 +10:00
committed by GitHub
parent c750f1a48c
commit 05ad1dad90
9 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -111,7 +111,7 @@ func (n *CandidateNode) createChildPath(path interface{}) []interface{} {
return newPath
}
//don't use append as they may actually modify the path of the orignal node!
//don't use append as they may actually modify the path of the original node!
newPath := make([]interface{}, len(n.Path)+1)
copy(newPath, n.Path)
newPath[len(n.Path)] = path