* include/ext/throw_allocator.h (throw_allocator_base): Qualify
        size_t and ptrdiff_t.

Tested powerpc64le-linux, committed to trunk.

commit a1dcc5b28035e241ac766c7699559f06b88f786c
Author: Jonathan Wakely <jwak...@redhat.com>
Date:   Wed Oct 23 15:23:11 2019 +0100

    Qualify type names in <ext/throw_allocator.h>
    
            * include/ext/throw_allocator.h (throw_allocator_base): Qualify
            size_t and ptrdiff_t.

diff --git a/libstdc++-v3/include/ext/throw_allocator.h 
b/libstdc++-v3/include/ext/throw_allocator.h
index f5da751eb69..a4b9fbc0176 100644
--- a/libstdc++-v3/include/ext/throw_allocator.h
+++ b/libstdc++-v3/include/ext/throw_allocator.h
@@ -796,8 +796,8 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
     : public annotate_base, public _Cond
     {
     public:
-      typedef size_t                           size_type;
-      typedef ptrdiff_t                        difference_type;
+      typedef std::size_t                      size_type;
+      typedef std::ptrdiff_t                   difference_type;
       typedef _Tp                              value_type;
       typedef value_type*                      pointer;
       typedef const value_type*                const_pointer;

Reply via email to