Commit 70ac4fa9 authored by Max Kellermann's avatar Max Kellermann

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

parent 6e2b3487
......@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment