locale_facets.tcc (__add_grouping): Cosmetic reformatting.
authorPaolo Carlini <pcarlini@suse.de>
Sun, 23 Nov 2003 14:49:54 +0000 (14:49 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Sun, 23 Nov 2003 14:49:54 +0000 (14:49 +0000)
2003-11-23  Paolo Carlini  <pcarlini@suse.de>

* include/bits/locale_facets.tcc (__add_grouping):
Cosmetic reformatting.

From-SVN: r73854

libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/locale_facets.tcc

index 05e0d8fd8bee5e45c3ea82bbdd064061b41a3243..1dbec0cb73dd35354985cb4f500b4fef4d6350b7 100644 (file)
@@ -1,3 +1,8 @@
+2003-11-23  Paolo Carlini  <pcarlini@suse.de>
+
+       * include/bits/locale_facets.tcc (__add_grouping):
+       Cosmetic reformatting.
+
 2003-11-23  Paolo Carlini  <pcarlini@suse.de>
 
        * include/bits/locale_facets.tcc (_M_extract_float,
index 3b5c484fa7b7ffe68ac5c058b80d9dfd7dc8f87a..5f099249c61048d7818308c140f65d245b18bba3 100644 (file)
@@ -2265,20 +2265,20 @@ namespace std
     __add_grouping(_CharT* __s, _CharT __sep,  
                   const char* __gbeg, const char* __gend, 
                   const _CharT* __first, const _CharT* __last)
-  {
-    if (__last - __first > *__gbeg)
-      {
-       const bool __bump = __gbeg + 1 != __gend;
-       __s = std::__add_grouping(__s,  __sep, __gbeg + __bump,
-                                 __gend, __first, __last - *__gbeg);
-       __first = __last - *__gbeg;
-       *__s++ = __sep;
-      }
-    do
-      *__s++ = *__first++;
-    while (__first != __last);
-    return __s;
-  }
+    {
+      if (__last - __first > *__gbeg)
+       {
+         const bool __bump = __gbeg + 1 != __gend;
+         __s = std::__add_grouping(__s,  __sep, __gbeg + __bump,
+                                   __gend, __first, __last - *__gbeg);
+         __first = __last - *__gbeg;
+         *__s++ = __sep;
+       }
+      do
+       *__s++ = *__first++;
+      while (__first != __last);
+      return __s;
+    }
 
   // Inhibit implicit instantiations for required instantiations,
   // which are defined via explicit instantiations elsewhere.