Remove stray semi-colons at namespace scope
authorJonathan Wakely <jwakely@redhat.com>
Fri, 1 Dec 2017 15:10:09 +0000 (15:10 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Fri, 1 Dec 2017 15:10:09 +0000 (15:10 +0000)
* include/bits/regex_executor.tcc (_Executor::_M_rep_once_more):
Remove semi-colon after function body.
* include/bits/uniform_int_dist.h (_Power_of_2): Likewise.

From-SVN: r255314

libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/regex_executor.tcc
libstdc++-v3/include/bits/uniform_int_dist.h

index e2dac201d41c45388eef8b1dabe7834d4742d6ca..1f138d7f1f5e89237bc26bafe3398769b4741fbe 100644 (file)
@@ -1,5 +1,9 @@
 2017-12-01  Jonathan Wakely  <jwakely@redhat.com>
 
+       * include/bits/regex_executor.tcc (_Executor::_M_rep_once_more):
+       Remove semi-colon after function body.
+       * include/bits/uniform_int_dist.h (_Power_of_2): Likewise.
+
        * include/tr1/modified_bessel_func.tcc (__airy): Use value-init not
        list-init.
 
index 2ceba35e7b828e6f60afaf49cbf54678b6c2a3e2..008ffa0e8364c565e5d86ee5d61a953239bac229 100644 (file)
@@ -170,7 +170,7 @@ namespace __detail
   // visited more than twice. It's `twice` instead of `once` because
   // we need to spare one more time for potential group capture.
   template<typename _BiIter, typename _Alloc, typename _TraitsT,
-    bool __dfs_mode>
+          bool __dfs_mode>
     void _Executor<_BiIter, _Alloc, _TraitsT, __dfs_mode>::
     _M_rep_once_more(_Match_mode __match_mode, _StateIdT __i)
     {
@@ -193,7 +193,7 @@ namespace __detail
              __rep_count.second--;
            }
        }
-    };
+    }
 
   // _M_alt branch is "match once more", while _M_next is "get me out
   // of this quantifier". Executing _M_next first or _M_alt first don't
index 16509c4ef8af18e01247a33b7a9111736db0c7b5..c64c02c245efa1ba9c1625087dd6287d786ed4e3 100644 (file)
@@ -46,7 +46,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
       _Power_of_2(_Tp __x)
       {
        return ((__x - 1) & __x) == 0;
-      };
+      }
   }
 
   /**