diff options
author | 2022-10-04 18:14:57 -0400 | |
---|---|---|
committer | 2022-10-04 18:14:57 -0400 | |
commit | 786495a6ed0c87bf74abbce37b310731fd220d8a (patch) | |
tree | 347d14e35237942ec50ebd03bf2f622a49077cf4 /src/lib/util/path.h | |
parent | d356ad91d4e88ad81bf12f027f4b95b6fa02fd34 (diff) |
path.h: Fix path_append and path_concat of >2 arguments
Diffstat (limited to 'src/lib/util/path.h')
-rw-r--r-- | src/lib/util/path.h | 2 |
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; } |