From ea05ba9559fe454549429228752aecd1a19226de Mon Sep 17 00:00:00 2001 From: payetvin <113102157+payetvin@users.noreply.github.com> Date: Tue, 28 May 2024 17:31:07 +0200 Subject: [PATCH] Fix yuni recursive call (#2124) close #2122 --- src/ext/yuni/src/yuni/io/filename-manipulation.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ext/yuni/src/yuni/io/filename-manipulation.cpp b/src/ext/yuni/src/yuni/io/filename-manipulation.cpp index a8deec1ff9..01a99289a0 100644 --- a/src/ext/yuni/src/yuni/io/filename-manipulation.cpp +++ b/src/ext/yuni/src/yuni/io/filename-manipulation.cpp @@ -283,7 +283,7 @@ bool IsAbsolute(const AnyString& filename) } template -static inline void parent_path_impl(StringT& out, const AnyString& path, bool systemDependant) +static inline void parent_path_impl_static(StringT& out, const AnyString& path, bool systemDependant) { AnyString::size_type pos = (systemDependant) ? path.find_last_of(IO::Constant::Separator) @@ -296,12 +296,12 @@ static inline void parent_path_impl(StringT& out, const AnyString& path, bool sy void parent_path(String& out, const AnyString& path, bool systemDependant) { - parent_path_impl(out, path, systemDependant); + parent_path_impl_static(out, path, systemDependant); } void parent_path_impl(Clob& out, const AnyString& path, bool systemDependant) { - parent_path_impl(out, path, systemDependant); + parent_path_impl_static(out, path, systemDependant); } template