[PATCH] Fix another -Wunused-local-typedef warning in include/__tree
Dimitry Andric
dimitry at andric.com
Sat Mar 7 14:33:36 PST 2015
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/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D8140.21432.patch
Type: text/x-patch
Size: 459 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150307/1812c36f/attachment.bin>
More information about the cfe-commits
mailing list