Skip to content

Commit

Permalink
Fix yuni recursive call (#2124)
Browse files Browse the repository at this point in the history
close #2122
  • Loading branch information
payetvin authored May 28, 2024
1 parent fa8f497 commit ea05ba9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/ext/yuni/src/yuni/io/filename-manipulation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ bool IsAbsolute(const AnyString& filename)
}

template<class StringT>
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<char>::Separator)
Expand All @@ -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<class StringT>
Expand Down

0 comments on commit ea05ba9

Please sign in to comment.