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(next)); if constexpr (sizeof...(U)) - return path_append(std::forward(more)...); + return path_append(path, std::forward(more)...); else return path; }