[glibmm] ustring: Add {} with a while().



commit a2a5d46d23e3a63262acdcc8c8ba0d23184d62a7
Author: Murray Cumming <murrayc murrayc com>
Date:   Thu Apr 14 10:45:25 2016 +0200

    ustring: Add {} with a while().
    
    To make this code slightly clearer.

 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 cf2ac0d..8e8a546 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;
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]