Skip to content

Commit 46f19aa

Browse files
authored
remove unused private function (#700)
1 parent 27a2d93 commit 46f19aa

File tree

2 files changed

+0
-10
lines changed

2 files changed

+0
-10
lines changed

include/ada/unicode.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -65,12 +65,6 @@ namespace ada::unicode {
6565
bool to_ascii(std::optional<std::string>& out, std::string_view plain,
6666
size_t first_percent);
6767

68-
/**
69-
* @private
70-
* @see https://www.unicode.org/reports/tr46/#ToUnicode
71-
*/
72-
std::string to_unicode(std::string_view input);
73-
7468
/**
7569
* @private
7670
* Checks if the input has tab or newline characters.

src/unicode.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -479,8 +479,4 @@ std::string percent_encode(const std::string_view input,
479479
return out;
480480
}
481481

482-
std::string to_unicode(std::string_view input) {
483-
return ada::idna::to_unicode(input);
484-
}
485-
486482
} // namespace ada::unicode

0 commit comments

Comments
 (0)