diff options
| author | Eric Fiselier <eric@efcs.ca> | 2016-12-23 23:37:52 +0000 |
|---|---|---|
| committer | Eric Fiselier <eric@efcs.ca> | 2016-12-23 23:37:52 +0000 |
| commit | fd838227411f3ce1fa348f1d334266231bbcc84d (patch) | |
| tree | 204de9a3dad8b79d83bba224d8f6d4775169483f /libcxx/include/iterator | |
| parent | 16166a4d71fca27f454a0837465143700dd41e98 (diff) | |
| download | bcm5719-llvm-fd838227411f3ce1fa348f1d334266231bbcc84d.tar.gz bcm5719-llvm-fd838227411f3ce1fa348f1d334266231bbcc84d.zip | |
Fix unused parameters and variables
llvm-svn: 290459
Diffstat (limited to 'libcxx/include/iterator')
| -rw-r--r-- | libcxx/include/iterator | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libcxx/include/iterator b/libcxx/include/iterator index 657236d9347..2a859c54df9 100644 --- a/libcxx/include/iterator +++ b/libcxx/include/iterator @@ -1751,13 +1751,13 @@ template <class _Cont> constexpr auto size(const _Cont& __c) -> decltype(__c.size()) { return __c.size(); } template <class _Tp, size_t _Sz> -constexpr size_t size(const _Tp (&__array)[_Sz]) noexcept { return _Sz; } +constexpr size_t size(const _Tp (&)[_Sz]) noexcept { return _Sz; } template <class _Cont> constexpr auto empty(const _Cont& __c) -> decltype(__c.empty()) { return __c.empty(); } template <class _Tp, size_t _Sz> -constexpr bool empty(const _Tp (&__array)[_Sz]) noexcept { return false; } +constexpr bool empty(const _Tp (&)[_Sz]) noexcept { return false; } template <class _Ep> constexpr bool empty(initializer_list<_Ep> __il) noexcept { return __il.size() == 0; } |

