diff options
author | Murray Cumming <murrayc@murrayc.com> | 2016-04-14 10:45:25 +0200 |
---|---|---|
committer | Murray Cumming <murrayc@murrayc.com> | 2016-04-14 10:46:56 +0200 |
commit | a2a5d46d23e3a63262acdcc8c8ba0d23184d62a7 (patch) | |
tree | e3e34753fc7531d1d8781d91d88c9483d712ebe7 /glib | |
parent | fe8c150153e64a29b09d068a478edbeafdc59524 (diff) | |
download | glibmm-a2a5d46d23e3a63262acdcc8c8ba0d23184d62a7.tar.gz |
ustring: Add {} with a while().
To make this code slightly clearer.
Diffstat (limited to 'glib')
-rw-r--r-- | glib/glibmm/ustring.h | 3 |
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; } |