mirror of
https://git.mirrors.martin98.com/https://github.com/gulrak/filesystem
synced 2025-06-04 11:13:58 +08:00
Fixed unused parameter isse.
This commit is contained in:
parent
306ad540ed
commit
9970d3354f
@ -1577,7 +1577,7 @@ template <class StringType, class WString, typename std::enable_if<path::_is_bas
|
||||
inline StringType fromWChar(const WString& wString, const typename StringType::allocator_type& alloc = typename StringType::allocator_type())
|
||||
{
|
||||
auto temp = toUtf8(wString);
|
||||
return fromUtf8<StringType>(temp);
|
||||
return fromUtf8<StringType>(temp, alloc);
|
||||
}
|
||||
|
||||
template <typename strT, typename std::enable_if<path::_is_basic_string<strT>::value && (sizeof(typename strT::value_type) == 1), bool>::type = false>
|
||||
|
Loading…
x
Reference in New Issue
Block a user