diff --git a/src/util/AllocatedString.cxx b/src/util/AllocatedString.cxx index 7969eba00..ca0e0c5dd 100644 --- a/src/util/AllocatedString.cxx +++ b/src/util/AllocatedString.cxx @@ -36,3 +36,14 @@ AllocatedString::Duplicate(const_pointer_type src) { return Duplicate(src, StringLength(src)); } + +#ifdef _UNICODE + +template<> +AllocatedString +AllocatedString::Duplicate(const_pointer_type src) +{ + return Duplicate(src, StringLength(src)); +} + +#endif