summaryrefslogtreecommitdiff
path: root/glib
diff options
context:
space:
mode:
authorMurray Cumming <murrayc@murrayc.com>2016-04-14 10:45:25 +0200
committerMurray Cumming <murrayc@murrayc.com>2016-04-14 10:46:56 +0200
commita2a5d46d23e3a63262acdcc8c8ba0d23184d62a7 (patch)
treee3e34753fc7531d1d8781d91d88c9483d712ebe7 /glib
parentfe8c150153e64a29b09d068a478edbeafdc59524 (diff)
downloadglibmm-a2a5d46d23e3a63262acdcc8c8ba0d23184d62a7.tar.gz
ustring: Add {} with a while().
To make this code slightly clearer.
Diffstat (limited to 'glib')
-rw-r--r--glib/glibmm/ustring.h3
1 files changed, 3 insertions, 0 deletions
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 <class T>
inline ustring_Iterator<T>& ustring_Iterator<T>::operator--()
{
while ((static_cast<unsigned char>(*--pos_) & 0xC0u) == 0x80)
+ {
;
+ }
+
return *this;
}