From 984c8d11e9c041d81c5e28bc252e4e4f9613014d Mon Sep 17 00:00:00 2001 From: "C. J. Howard" Date: Tue, 5 Oct 2021 15:43:19 +0800 Subject: [PATCH] Fix typo in UTF conversion function declaration --- src/type/unicode/convert.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/type/unicode/convert.hpp b/src/type/unicode/convert.hpp index 9014377..874b9f2 100644 --- a/src/type/unicode/convert.hpp +++ b/src/type/unicode/convert.hpp @@ -39,7 +39,7 @@ std::u32string u32(const std::string& u8); * @param u32 UTF-32 string. * @return UTF-8 string. */ -std::string u32(const std::u32string& u32); +std::string u8(const std::u32string& u32); } // namespace unicode } // namespace type