aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2019-02-24 15:44:18 +0000
committerJonathan Wakely <redi@gcc.gnu.org>2019-02-24 15:44:18 +0000
commitc7f01cb61dd80f3c8282ae81a4d60c654908eb69 (patch)
treeca4c75de272b2215bb655b3c2c1a547e4d24f21d
parent00c80d9c2382a2ca9833fbd17b7f6679a3b5b77e (diff)
downloadgcc-c7f01cb61dd80f3c8282ae81a4d60c654908eb69.zip
gcc-c7f01cb61dd80f3c8282ae81a4d60c654908eb69.tar.gz
gcc-c7f01cb61dd80f3c8282ae81a4d60c654908eb69.tar.bz2
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
-rw-r--r--libstdc++-v3/ChangeLog6
-rw-r--r--libstdc++-v3/include/bits/alloc_traits.h2
2 files changed, 7 insertions, 1 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 0b6b050..1ace579 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -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
diff --git a/libstdc++-v3/include/bits/alloc_traits.h b/libstdc++-v3/include/bits/alloc_traits.h
index 71892cb..9a3d816 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<typename _Alloc, typename _Tp = typename _Alloc::value_type>
using copy = decltype(_M_select<_Alloc, const _Tp&>(0));