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 | 0e5ebbc77c3c2cfd7d835fcfe40fcb65df0c5598 (patch) | |
tree | dad8e421b9e358a097b013e37f7a5baf68b7192d /include/optional | |
parent | 17a98d8a9209167c58e35188a295f759d190e895 (diff) |
Fix unused parameters and variables
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@290459 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/optional')
-rw-r--r-- | include/optional | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/optional b/include/optional index c64aa8f7f..735ef479e 100644 --- a/include/optional +++ b/include/optional @@ -1080,7 +1080,7 @@ operator<=(const optional<_Tp>& __x, nullopt_t) noexcept template <class _Tp> _LIBCPP_INLINE_VISIBILITY constexpr bool -operator<=(nullopt_t, const optional<_Tp>& __x) noexcept +operator<=(nullopt_t, const optional<_Tp>&) noexcept { return true; } @@ -1096,7 +1096,7 @@ operator>(const optional<_Tp>& __x, nullopt_t) noexcept template <class _Tp> _LIBCPP_INLINE_VISIBILITY constexpr bool -operator>(nullopt_t, const optional<_Tp>& __x) noexcept +operator>(nullopt_t, const optional<_Tp>&) noexcept { return false; } |