From a2a5d46d23e3a63262acdcc8c8ba0d23184d62a7 Mon Sep 17 00:00:00 2001 From: Murray Cumming Date: Thu, 14 Apr 2016 10:45:25 +0200 Subject: ustring: Add {} with a while(). To make this code slightly clearer. --- glib/glibmm/ustring.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/glib/glibmm/ustring.h b/glib/glibmm/ustring.h index cf2ac0dd..8e8a546b 100644 --- a/glib/glibmm/ustring.h +++ b/glib/glibmm/ustring.h @@ -970,7 +970,10 @@ template inline ustring_Iterator& ustring_Iterator::operator--() { while ((static_cast(*--pos_) & 0xC0u) == 0x80) + { ; + } + return *this; } -- cgit v1.2.1