This commit is contained in:
Timothee Cour
2021-04-29 02:41:28 -07:00
parent 23207b6d5a
commit 28cf312956

View File

@@ -90,7 +90,7 @@ template randomPathName(length: Natural): string =
res[i] = state.sample(letters)
res
proc getTempDirImpl(dir: string): string =
proc getTempDirImpl(dir: string): string {.inline.} =
result = dir
if result.len == 0:
result = getTempDir()