aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2019-10-23 17:14:47 +0100
committerJonathan Wakely <redi@gcc.gnu.org>2019-10-23 17:14:47 +0100
commit84a2f4b3a64dfa377d603ee26fff99b80ed93a99 (patch)
tree52535ba8b6eb82fb1dc2c2f5017aa54e9587d500
parentec541f1bc17be5fd7f181aeb60c3cc239957ae92 (diff)
downloadgcc-84a2f4b3a64dfa377d603ee26fff99b80ed93a99.zip
gcc-84a2f4b3a64dfa377d603ee26fff99b80ed93a99.tar.gz
gcc-84a2f4b3a64dfa377d603ee26fff99b80ed93a99.tar.bz2
Qualify type names in <ext/throw_allocator.h>
* include/ext/throw_allocator.h (throw_allocator_base): Qualify size_t and ptrdiff_t. From-SVN: r277337
-rw-r--r--libstdc++-v3/ChangeLog3
-rw-r--r--libstdc++-v3/include/ext/throw_allocator.h4
2 files changed, 5 insertions, 2 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index bf0af28..55ad108 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,5 +1,8 @@
2019-10-23 Jonathan Wakely <jwakely@redhat.com>
+ * include/ext/throw_allocator.h (throw_allocator_base): Qualify
+ size_t and ptrdiff_t.
+
* include/ext/pb_ds/detail/bin_search_tree_/bin_search_tree_.hpp:
Use detail::rebind_traits.
* include/ext/pb_ds/detail/bin_search_tree_/node_iterators.hpp:
diff --git a/libstdc++-v3/include/ext/throw_allocator.h b/libstdc++-v3/include/ext/throw_allocator.h
index f5da751..a4b9fbc 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;