remove utf8_cast functions

This commit is contained in:
Jinhao
2016-01-22 00:46:10 +08:00
parent b961ff51d7
commit 325961a277
19 changed files with 81 additions and 113 deletions

View File

@@ -949,8 +949,7 @@ namespace paint
void graphics::string(const point& pos, const std::string& text_utf8)
{
throw_not_utf8(text_utf8);
string(pos, utf8_cast(text_utf8));
string(pos, to_wstring(text_utf8));
}
void graphics::string(const point& pos, const std::string& text_utf8, const color& clr)