This commit is contained in:
Mat Sutcliffe
2021-04-17 16:39:09 +01:00
parent 39d6100c87
commit 38328d536b
3 changed files with 6 additions and 6 deletions

View File

@@ -148,7 +148,7 @@ namespace XSwiftBus
static const CMessage::string ellipsis = u8"\u2026";
const unsigned lineLength = m_messages.maxLineLength() - 1;
using U8It = Utf8Iterator<typename std::string::const_iterator>;
using U8It = Utf8Iterator<std::string::const_iterator>;
U8It begin(text.begin(), text.end());
auto characters = std::distance(begin, U8It(text.end(), text.end()));
std::vector<CMessage::string> wrappedLines;