* [PATCH] Qualify type names in <ext/throw_allocator.h>
@ 2019-10-23 16:18 Jonathan Wakely
0 siblings, 0 replies; only message in thread
From: Jonathan Wakely @ 2019-10-23 16:18 UTC (permalink / raw)
To: libstdc++, gcc-patches
[-- Attachment #1: Type: text/plain, Size: 141 bytes --]
* include/ext/throw_allocator.h (throw_allocator_base): Qualify
size_t and ptrdiff_t.
Tested powerpc64le-linux, committed to trunk.
[-- Attachment #2: patch.txt --]
[-- Type: text/plain, Size: 972 bytes --]
commit a1dcc5b28035e241ac766c7699559f06b88f786c
Author: Jonathan Wakely <jwakely@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;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2019-10-23 16:18 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-23 16:18 [PATCH] Qualify type names in <ext/throw_allocator.h> Jonathan Wakely
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).