Author: dim Date: Mon Mar 9 16:39:02 2015 New Revision: 231705 URL: http://llvm.org/viewvc/llvm-project?rev=231705&view=rev Log: 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 Modified: libcxx/trunk/include/__tree Modified: libcxx/trunk/include/__tree URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/__tree?rev=231705&r1=231704&r2=231705&view=diff ============================================================================== --- libcxx/trunk/include/__tree (original) +++ libcxx/trunk/include/__tree Mon Mar 9 16:39:02 2015 @@ -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) _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
