diff options
author | Volker Reichelt <v.reichelt@netcologne.de> | 2017-07-19 16:59:00 +0000 |
---|---|---|
committer | Volker Reichelt <reichelt@gcc.gnu.org> | 2017-07-19 16:59:00 +0000 |
commit | 57c51668eefc148c91e68dcec298f0615b52e38a (patch) | |
tree | 175a1e48daec771581df56554e873c4eff3f2c6f /libstdc++-v3/include/ext | |
parent | 77011afe7fa44deb834e70ea536d533a8b4b8382 (diff) | |
download | gcc-57c51668eefc148c91e68dcec298f0615b52e38a.zip gcc-57c51668eefc148c91e68dcec298f0615b52e38a.tar.gz gcc-57c51668eefc148c91e68dcec298f0615b52e38a.tar.bz2 |
new (bad_array_new_length): Remove redundant semicolon after in-class member function definition.
* libsupc++/new (bad_array_new_length): Remove redundant
semicolon after in-class member function definition.
* include/bits/locale_facets.h (ctype_byname, num_put): Likewise.
* include/bits/locale_facets_nonio.h (time_put_byname): Likewise.
* include/bits/random.h (mersenne_twister_engine): Likewise.
* include/tr1/random.h (mersenne_twister): Likewise
* include/ext/random (simd_fast_mersenne_twister_engine): Likewise.
* include/ext/rope (char_producer, _Rope_char_consumer,
_Rope_self_destruct_ptr, _Rope_const_iterator, _Rope_iterator):
Likewise.
* include/ext/ropeimpl.h (_Rope_flatten_char_consumer,
_Rope_insert_char_consumer): Likewise.
From-SVN: r250357
Diffstat (limited to 'libstdc++-v3/include/ext')
-rw-r--r-- | libstdc++-v3/include/ext/random | 2 | ||||
-rw-r--r-- | libstdc++-v3/include/ext/rope | 12 | ||||
-rw-r--r-- | libstdc++-v3/include/ext/ropeimpl.h | 6 |
3 files changed, 10 insertions, 10 deletions
diff --git a/libstdc++-v3/include/ext/random b/libstdc++-v3/include/ext/random index d93757b..c991345 100644 --- a/libstdc++-v3/include/ext/random +++ b/libstdc++-v3/include/ext/random @@ -112,7 +112,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION static constexpr result_type min() - { return 0; }; + { return 0; } static constexpr result_type max() diff --git a/libstdc++-v3/include/ext/rope b/libstdc++-v3/include/ext/rope index 785205c..d97b57f 100644 --- a/libstdc++-v3/include/ext/rope +++ b/libstdc++-v3/include/ext/rope @@ -150,7 +150,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION class char_producer { public: - virtual ~char_producer() { }; + virtual ~char_producer() { } virtual void operator()(size_t __start_pos, size_t __len, @@ -314,7 +314,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION // compile-time would do. Hence this should all be private // for now. // The symmetry with char_producer is accidental and temporary. - virtual ~_Rope_char_consumer() { }; + virtual ~_Rope_char_consumer() { } virtual bool operator()(const _CharT* __buffer, size_t __len) = 0; @@ -924,9 +924,9 @@ protected: ~_Rope_self_destruct_ptr() { _Rope_RopeRep<_CharT, _Alloc>::_S_unref(_M_ptr); } #if __cpp_exceptions - _Rope_self_destruct_ptr() : _M_ptr(0) { }; + _Rope_self_destruct_ptr() : _M_ptr(0) { } #else - _Rope_self_destruct_ptr() { }; + _Rope_self_destruct_ptr() { } #endif _Rope_self_destruct_ptr(_Rope_RopeRep<_CharT, _Alloc>* __p) : _M_ptr(__p) { } @@ -1153,7 +1153,7 @@ protected: typedef const _CharT* pointer; public: - _Rope_const_iterator() { }; + _Rope_const_iterator() { } _Rope_const_iterator(const _Rope_const_iterator& __x) : _Rope_iterator_base<_CharT,_Alloc>(__x) { } @@ -1325,7 +1325,7 @@ protected: _Rope_iterator() { this->_M_root = 0; // Needed for reference counting. - }; + } _Rope_iterator(const _Rope_iterator& __x) : _Rope_iterator_base<_CharT, _Alloc>(__x) diff --git a/libstdc++-v3/include/ext/ropeimpl.h b/libstdc++-v3/include/ext/ropeimpl.h index 471b13f..9e88ce1 100644 --- a/libstdc++-v3/include/ext/ropeimpl.h +++ b/libstdc++-v3/include/ext/ropeimpl.h @@ -844,7 +844,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION public: _Rope_flatten_char_consumer(_CharT* __buffer) - { _M_buf_ptr = __buffer; }; + { _M_buf_ptr = __buffer; } ~_Rope_flatten_char_consumer() {} @@ -897,8 +897,8 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION _Insert_ostream& _M_o; public: _Rope_insert_char_consumer(_Insert_ostream& __writer) - : _M_o(__writer) {}; - ~_Rope_insert_char_consumer() { }; + : _M_o(__writer) {} + ~_Rope_insert_char_consumer() { } // Caller is presumed to own the ostream bool operator() (const _CharT* __leaf, size_t __n); // Returns true to continue traversal. |