PR libstdc++/89416 fix accessibility of members
authorJonathan Wakely <jwakely@redhat.com>
Sun, 24 Feb 2019 15:44:18 +0000 (15:44 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Sun, 24 Feb 2019 15:44:18 +0000 (15:44 +0000)
PR libstdc++/89416
* include/bits/alloc_traits.h (__is_alloc_insertable_impl): Make
copy and move members public.

From-SVN: r269175

libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/alloc_traits.h

index 0b6b05063d767fc90a993523d45b753e5e2535c3..1ace579e6256e48fb7ebfb4e3bdd631301e38fd1 100644 (file)
@@ -1,3 +1,9 @@
+2019-02-24  Jonathan Wakely  <jwakely@redhat.com>
+
+       PR libstdc++/89416
+       * include/bits/alloc_traits.h (__is_alloc_insertable_impl): Make
+       copy and move members public.
+
 2019-02-23  Jonathan Wakely  <jwakely@redhat.com>
 
        * include/std/type_traits (__underlying_type_impl): New helper to
index 71892cbfaba12f7f2197966cb6b69583ebcba7d5..9a3d816c42c0b95aeaf06fa54e8ad553e2836556 100644 (file)
@@ -590,7 +590,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
       static false_type
       _M_select(...);
 
-  protected:
+  public:
     template<typename _Alloc, typename _Tp = typename _Alloc::value_type>
       using copy = decltype(_M_select<_Alloc, const _Tp&>(0));