about summary refs log tree commit diff stats
path: root/src/types/path.nim
diff options
context:
space:
mode:
Diffstat (limited to 'src/types/path.nim')
-rw-r--r--src/types/path.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/types/path.nim b/src/types/path.nim
index 966eeb32..53332dc3 100644
--- a/src/types/path.nim
+++ b/src/types/path.nim
@@ -345,7 +345,7 @@ proc getLines*(path: Path): seq[Line] =
     assert subpath.points.len == subpath.segments.len + 1
     for i in 0 ..< subpath.segments.len:
       lines.addLines(subpath, i)
-  return lines
+  move(lines)
 
 proc getLineSegments*(path: Path): PathLines =
   if path.subpaths.len == 0: