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

@@ -40,7 +40,7 @@ public:
CharT* egptr() const {return base::egptr();}
protected:
typename base::pos_type seekoff(typename base::off_type off,
std::ios_base::seekdir way,
std::ios_base::seekdir,
std::ios_base::openmode which)
{
assert(which == std::ios_base::in);

View File

@@ -25,7 +25,7 @@ struct test
test() {}
protected:
std::streamsize xsgetn(char_type* s, std::streamsize n)
std::streamsize xsgetn(char_type*, std::streamsize)
{
++xsgetn_called;
return 10;

View File

@@ -32,7 +32,7 @@ struct test
}
protected:
int_type pbackfail(int_type c = traits_type::eof())
int_type pbackfail(int_type = traits_type::eof())
{
++pbackfail_called;
return 'a';

View File

@@ -32,7 +32,7 @@ struct test
}
protected:
int_type pbackfail(int_type c = traits_type::eof())
int_type pbackfail(int_type = traits_type::eof())
{
++pbackfail_called;
return 'a';

View File

@@ -36,7 +36,7 @@ struct test
}
protected:
int_type overflow(int_type c = traits_type::eof())
int_type overflow(int_type = traits_type::eof())
{
++overflow_called;
return 'a';

View File

@@ -25,7 +25,7 @@ struct test
test() {}
protected:
std::streamsize xsputn(const char_type* s, std::streamsize n)
std::streamsize xsputn(const char_type*, std::streamsize)
{
++xsputn_called;
return 5;