summaryrefslogtreecommitdiff
path: root/libcxx/include/queue
diff options
context:
space:
mode:
authorNikolas Klauser <nikolasklauser@berlin.de>2023-07-24 19:53:39 -0700
committerNikolas Klauser <nikolasklauser@berlin.de>2023-07-24 19:54:12 -0700
commit1e24b4d3fdf1ba31cdae4d46435d1cfa5e516cd5 (patch)
treeb5071ec848b4792bfcd337c8aec1137b7726769e /libcxx/include/queue
parent3326feb39729e04b5bfdb9f87c8118573451b501 (diff)
[libc++] Fix template parameter naming and enforce it through readability-identifier-naming
Reviewed By: #libc, Mordante Spies: Mordante, aheejin, libcxx-commits Differential Revision: https://reviews.llvm.org/D156059
Diffstat (limited to 'libcxx/include/queue')
-rw-r--r--libcxx/include/queue8
1 files changed, 4 insertions, 4 deletions
diff --git a/libcxx/include/queue b/libcxx/include/queue
index c1c3d2941901..b5944e8f9f92 100644
--- a/libcxx/include/queue
+++ b/libcxx/include/queue
@@ -453,17 +453,17 @@ public:
_LIBCPP_NODISCARD _LIBCPP_HIDE_FROM_ABI const _Container& __get_container() const { return c; }
- template <class _T1, class _C1>
+ template <class _T1, class _OtherContainer>
friend
_LIBCPP_INLINE_VISIBILITY
bool
- operator==(const queue<_T1, _C1>& __x,const queue<_T1, _C1>& __y);
+ operator==(const queue<_T1, _OtherContainer>& __x,const queue<_T1, _OtherContainer>& __y);
- template <class _T1, class _C1>
+ template <class _T1, class _OtherContainer>
friend
_LIBCPP_INLINE_VISIBILITY
bool
- operator< (const queue<_T1, _C1>& __x,const queue<_T1, _C1>& __y);
+ operator< (const queue<_T1, _OtherContainer>& __x,const queue<_T1, _OtherContainer>& __y);
};
#if _LIBCPP_STD_VER >= 17