From: Jonathan Wakely Date: Sun, 24 Feb 2019 15:44:18 +0000 (+0000) Subject: PR libstdc++/89416 fix accessibility of members X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c7f01cb61dd80f3c8282ae81a4d60c654908eb69;p=gcc.git PR libstdc++/89416 fix accessibility of members PR libstdc++/89416 * include/bits/alloc_traits.h (__is_alloc_insertable_impl): Make copy and move members public. From-SVN: r269175 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 0b6b05063d7..1ace579e625 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,9 @@ +2019-02-24 Jonathan Wakely + + PR libstdc++/89416 + * include/bits/alloc_traits.h (__is_alloc_insertable_impl): Make + copy and move members public. + 2019-02-23 Jonathan Wakely * include/std/type_traits (__underlying_type_impl): New helper to diff --git a/libstdc++-v3/include/bits/alloc_traits.h b/libstdc++-v3/include/bits/alloc_traits.h index 71892cbfaba..9a3d816c42c 100644 --- a/libstdc++-v3/include/bits/alloc_traits.h +++ b/libstdc++-v3/include/bits/alloc_traits.h @@ -590,7 +590,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION static false_type _M_select(...); - protected: + public: template using copy = decltype(_M_select<_Alloc, const _Tp&>(0));