Hi mclow.lists, EricWF,

Fix another -Wunused-local-typedef warning in include/__tree.  The _Pp
typedef in __tree<_Tp, _Compare, _Allocator>::__count_multi() isn't used
anywhere, so adding _LIBCPP_UNUSED is unecessary.

http://reviews.llvm.org/D8140

Files:
  include/__tree

Index: include/__tree
===================================================================
--- include/__tree
+++ include/__tree
@@ -2077,7 +2077,6 @@
 typename __tree<_Tp, _Compare, _Allocator>::size_type
 __tree<_Tp, _Compare, _Allocator>::__count_multi(const _Key& __k) const
 {
-    typedef pair<const_iterator, const_iterator> _Pp;
     __node_const_pointer __result = __end_node();
     __node_const_pointer __rt = __root();
     while (__rt != nullptr)

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
Index: include/__tree
===================================================================
--- include/__tree
+++ include/__tree
@@ -2077,7 +2077,6 @@
 typename __tree<_Tp, _Compare, _Allocator>::size_type
 __tree<_Tp, _Compare, _Allocator>::__count_multi(const _Key& __k) const
 {
-    typedef pair<const_iterator, const_iterator> _Pp;
     __node_const_pointer __result = __end_node();
     __node_const_pointer __rt = __root();
     while (__rt != nullptr)
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to