From 28cf312956065a716f1ee6f3ef623976449530c7 Mon Sep 17 00:00:00 2001 From: Timothee Cour Date: Thu, 29 Apr 2021 02:41:28 -0700 Subject: [PATCH] fixup --- lib/std/tempfiles.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/std/tempfiles.nim b/lib/std/tempfiles.nim index e7637c4e65..91a3ce7f3a 100644 --- a/lib/std/tempfiles.nim +++ b/lib/std/tempfiles.nim @@ -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()