aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/include/std/valarray
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2023-08-08 22:07:29 +0100
committerJonathan Wakely <jwakely@redhat.com>2023-08-09 15:19:15 +0100
commit5b46eacc4949ec62ee718b172cf8eb056ff27654 (patch)
tree3d57c760a58339932e345f8f5587d52fa4dd637c /libstdc++-v3/include/std/valarray
parentaf89c7792d722b7c7c2568bd4dfd9c2b34eeb4f9 (diff)
downloadgcc-5b46eacc4949ec62ee718b172cf8eb056ff27654.zip
gcc-5b46eacc4949ec62ee718b172cf8eb056ff27654.tar.gz
gcc-5b46eacc4949ec62ee718b172cf8eb056ff27654.tar.bz2
libstdc++: Fix some -Wmismatched-tags warnings
libstdc++-v3/ChangeLog: * include/bits/shared_ptr_atomic.h (atomic): Change class-head to struct. * include/bits/stl_tree.h (_Rb_tree_merge_helper): Change class-head to struct in friend declaration. * include/std/chrono (tzdb_list::_Node): Likewise. * include/std/future (_Task_state_base, _Task_state): Likewise. * include/std/scoped_allocator (__inner_type_impl): Likewise. * include/std/valarray (_BinClos, _SClos, _GClos, _IClos) (_ValFunClos, _RefFunClos): Change class-head to struct.
Diffstat (limited to 'libstdc++-v3/include/std/valarray')
-rw-r--r--libstdc++-v3/include/std/valarray12
1 files changed, 6 insertions, 6 deletions
diff --git a/libstdc++-v3/include/std/valarray b/libstdc++-v3/include/std/valarray
index 6bd23e0..f172db6 100644
--- a/libstdc++-v3/include/std/valarray
+++ b/libstdc++-v3/include/std/valarray
@@ -62,22 +62,22 @@ namespace __detail
template<class, class> class _Meta1,
template<class, class> class _Meta2,
class _Dom1, class _Dom2>
- class _BinClos;
+ struct _BinClos;
template<template<class, class> class _Meta, class _Dom>
- class _SClos;
+ struct _SClos;
template<template<class, class> class _Meta, class _Dom>
- class _GClos;
+ struct _GClos;
template<template<class, class> class _Meta, class _Dom>
- class _IClos;
+ struct _IClos;
template<template<class, class> class _Meta, class _Dom>
- class _ValFunClos;
+ struct _ValFunClos;
template<template<class, class> class _Meta, class _Dom>
- class _RefFunClos;
+ struct _RefFunClos;
} // namespace __detail
using __detail::_UnClos;