mirror of
https://github.com/holub/mame
synced 2025-04-19 07:00:31 +03:00
path.h: Fix path_append and path_concat of >2 arguments
This commit is contained in:
parent
d356ad91d4
commit
786495a6ed
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user