diff --git a/src/libime/pinyin/pinyinencoder.cpp b/src/libime/pinyin/pinyinencoder.cpp index de017db..da6253f 100644 --- a/src/libime/pinyin/pinyinencoder.cpp +++ b/src/libime/pinyin/pinyinencoder.cpp @@ -93,7 +93,8 @@ template std::pair longestMatch(Iter iter, Iter end, PinyinFuzzyFlags flags) { if (*iter == 'i' || *iter == 'u' || *iter == 'v') { - return std::make_pair(std::string_view(&*iter, std::distance(iter, end)), false); + return std::make_pair( + std::string_view(&*iter, std::distance(iter, end)), false); } if (std::distance(iter, end) > maxPinyinLength) { end = iter + maxPinyinLength;