summaryrefslogtreecommitdiffstats
path: root/libcxx/include/optional
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2016-12-23 23:37:52 +0000
committerEric Fiselier <eric@efcs.ca>2016-12-23 23:37:52 +0000
commitfd838227411f3ce1fa348f1d334266231bbcc84d (patch)
tree204de9a3dad8b79d83bba224d8f6d4775169483f /libcxx/include/optional
parent16166a4d71fca27f454a0837465143700dd41e98 (diff)
downloadbcm5719-llvm-fd838227411f3ce1fa348f1d334266231bbcc84d.tar.gz
bcm5719-llvm-fd838227411f3ce1fa348f1d334266231bbcc84d.zip
Fix unused parameters and variables
llvm-svn: 290459
Diffstat (limited to 'libcxx/include/optional')
-rw-r--r--libcxx/include/optional4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcxx/include/optional b/libcxx/include/optional
index c64aa8f7f72..735ef479e02 100644
--- a/libcxx/include/optional
+++ b/libcxx/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;
}
OpenPOWER on IntegriCloud