diff options
author | Aurelien Jacobs <aurel@gnuage.org> | 2016-01-18 14:39:12 +0100 |
---|---|---|
committer | Kjell Ahlstedt <kjell.ahlstedt@bredband.net> | 2016-01-18 14:39:12 +0100 |
commit | 07461be382cb5760505cd7d6fc985941491d8bf2 (patch) | |
tree | 7e2ae742590d8d3886d70f7ef523d2bdb12a7b18 /glib/glibmm/ustring.h | |
parent | 4229b122f28454baf1b1726b553399f26b199808 (diff) | |
download | glibmm-07461be382cb5760505cd7d6fc985941491d8bf2.tar.gz |
Glib::ustring fix gcc 6 warning in public header
Avoid a warning when compiling with gcc 6 with -Wmisleading-indentation.
Bug #760641.
Diffstat (limited to 'glib/glibmm/ustring.h')
-rw-r--r-- | glib/glibmm/ustring.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/glib/glibmm/ustring.h b/glib/glibmm/ustring.h index 528a5369..ccbb103f 100644 --- a/glib/glibmm/ustring.h +++ b/glib/glibmm/ustring.h @@ -1004,7 +1004,8 @@ const ustring_Iterator<T> ustring_Iterator<T>::operator++(int) template <class T> inline ustring_Iterator<T>& ustring_Iterator<T>::operator--() { - do --pos_; while((static_cast<unsigned char>(*pos_) & 0xC0u) == 0x80); + while ((static_cast<unsigned char>(*--pos_) & 0xC0u) == 0x80) + ; return *this; } |