mirror of
https://github.com/llvm-mirror/libcxx.git
synced 2025-10-24 20:29:39 +08:00
Fix unused parameters and variables
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@290459 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -29,7 +29,7 @@ struct DummyUnaryFunction
|
||||
struct BadUnaryFunction
|
||||
{
|
||||
template <typename S>
|
||||
constexpr int operator()(S const & s) const
|
||||
constexpr int operator()(S const &) const
|
||||
{
|
||||
// Trigger a compile error if this function is instantiated.
|
||||
// The constexpr is needed so that it is instantiated while checking
|
||||
|
||||
Reference in New Issue
Block a user