util/AllocatedString: implement AllocatedString<wchar_t>::Duplicate()

This commit is contained in:
Max Kellermann 2017-07-05 10:26:39 +02:00
parent 6e2b348758
commit 70ac4fa96b

View File

@ -36,3 +36,14 @@ AllocatedString<char>::Duplicate(const_pointer_type src)
{
return Duplicate(src, StringLength(src));
}
#ifdef _UNICODE
template<>
AllocatedString<wchar_t>
AllocatedString<wchar_t>::Duplicate(const_pointer_type src)
{
return Duplicate(src, StringLength(src));
}
#endif