summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/util/path.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/util/path.h')
-rw-r--r--src/lib/util/path.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/util/path.h b/src/lib/util/path.h
index 204c3503bbf..b0af408973d 100644
--- a/src/lib/util/path.h
+++ b/src/lib/util/path.h
@@ -55,7 +55,7 @@ inline std::string &path_append(std::string &path, T &&next, U &&... more)
path.append(PATH_SEPARATOR);
path.append(std::forward<T>(next));
if constexpr (sizeof...(U))
- return path_append(std::forward<U>(more)...);
+ return path_append(path, std::forward<U>(more)...);
else
return path;
}