diff options
| author | Howard Hinnant <hhinnant@apple.com> | 2011-11-29 18:15:50 +0000 |
|---|---|---|
| committer | Howard Hinnant <hhinnant@apple.com> | 2011-11-29 18:15:50 +0000 |
| commit | c003db1fcae660d055b1b29852065f67bbabd35e (patch) | |
| tree | af77ff4d08341945ef328dddea31ed7c8919ca82 /libcxx/include/utility | |
| parent | de3a2118db444f4a612ff6b9487face43eb512a6 (diff) | |
| download | bcm5719-llvm-c003db1fcae660d055b1b29852065f67bbabd35e.tar.gz bcm5719-llvm-c003db1fcae660d055b1b29852065f67bbabd35e.zip | |
Further macro protection by replacing _[A-Z] with _[A-Z]p
llvm-svn: 145410
Diffstat (limited to 'libcxx/include/utility')
| -rw-r--r-- | libcxx/include/utility | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libcxx/include/utility b/libcxx/include/utility index dd9ff33d712..2efea28435a 100644 --- a/libcxx/include/utility +++ b/libcxx/include/utility @@ -180,12 +180,12 @@ swap_ranges(_ForwardIterator1 __first1, _ForwardIterator1 __last1, _ForwardItera return __first2; } -template<class _Tp, size_t _N> +template<class _Tp, size_t _Np> inline _LIBCPP_INLINE_VISIBILITY void -swap(_Tp (&__a)[_N], _Tp (&__b)[_N]) _NOEXCEPT_(__is_nothrow_swappable<_Tp>::value) +swap(_Tp (&__a)[_Np], _Tp (&__b)[_Np]) _NOEXCEPT_(__is_nothrow_swappable<_Tp>::value) { - _VSTD::swap_ranges(__a, __a + _N, __b); + _VSTD::swap_ranges(__a, __a + _Np, __b); } template <class _Tp> |

