diff --git a/include/upa/url_utf.h b/include/upa/url_utf.h index b7c267a..dd01b96 100644 --- a/include/upa/url_utf.h +++ b/include/upa/url_utf.h @@ -25,10 +25,10 @@ class url_utf { template static void append_utf8(uint32_t code_point, Output& output); -#if 0 // UNUSED +/*** UNUSED *** template static void append_utf16(uint32_t code_point, Output& output); -#endif +***/ // Convert to utf-8 string static std::string to_utf8_string(const char16_t* first, const char16_t* last); @@ -236,7 +236,7 @@ inline void url_utf::append_utf8(uint32_t code_point, Output& output) { } } -#if 0 // UNUSED +/*** UNUSED *** // Modified version of the U16_APPEND_UNSAFE macro in utf16.h from ICU // // It converts code_point to UTF-16 code units sequence and appends to output. @@ -251,7 +251,7 @@ inline void url_utf::append_utf16(uint32_t code_point, Output& output) { output.push_back(static_cast((code_point & 0x3ff) | 0xdc00)); } } -#endif +***/ } // namespace upa