Remove names of unreferenced parameters. Patch from STL@microsoft.com

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@267852 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Eric Fiselier
2016-04-28 03:17:56 +00:00
parent 849c551745
commit bda804ea25
16 changed files with 20 additions and 20 deletions

View File

@@ -23,7 +23,7 @@
struct Fun
{
template<typename T, typename U>
void operator()(T && t, U && u) const
void operator()(T &&, U &&) const
{
static_assert(std::is_same<U, int &>::value, "");
}

View File

@@ -23,7 +23,7 @@
struct DummyUnaryFunction
{
template <typename S>
int operator()(S const & s) const { return 0; }
int operator()(S const &) const { return 0; }
};
struct BadUnaryFunction
@@ -39,7 +39,7 @@ struct BadUnaryFunction
}
};
int main(int argc, char* argv[])
int main()
{
// Check that BadUnaryFunction::operator()(S const &) is not
// instantiated when checking if BadUnaryFunction is a nested bind