summaryrefslogtreecommitdiffstats
path: root/libcxx/include/__tree
diff options
context:
space:
mode:
authorDimitry Andric <dimitry@andric.com>2015-03-09 21:39:02 +0000
committerDimitry Andric <dimitry@andric.com>2015-03-09 21:39:02 +0000
commita3175bab8845c87011cfddc2bd97ef7920d43ae1 (patch)
tree9203194c086900140fdf0973a18d822a9d560cbc /libcxx/include/__tree
parent764d030840ce31605a25ce3e002946a16c683329 (diff)
downloadbcm5719-llvm-a3175bab8845c87011cfddc2bd97ef7920d43ae1.tar.gz
bcm5719-llvm-a3175bab8845c87011cfddc2bd97ef7920d43ae1.zip
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. Differential Revision: http://reviews.llvm.org/D8140 llvm-svn: 231705
Diffstat (limited to 'libcxx/include/__tree')
-rw-r--r--libcxx/include/__tree1
1 files changed, 0 insertions, 1 deletions
diff --git a/libcxx/include/__tree b/libcxx/include/__tree
index 6da2416af62..77bf0812654 100644
--- a/libcxx/include/__tree
+++ b/libcxx/include/__tree
@@ -2077,7 +2077,6 @@ template <class _Key>
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)
OpenPOWER on IntegriCloud