fixed unused param warnings

This commit is contained in:
Jez Higgins 2010-01-09 23:45:36 +00:00
parent eaeaf1e03d
commit 65f1c0be23
2 changed files with 4 additions and 4 deletions

View file

@ -20,7 +20,7 @@ class rot13codecvt : public std::codecvt<char, char, std::mbstate_t>
protected:
virtual ~rot13codecvt() { }
virtual result do_out(std::mbstate_t& state,
virtual result do_out(std::mbstate_t& /* state */,
const char* from,
const char* from_end,
const char*& from_next,
@ -29,7 +29,7 @@ protected:
char*& to_next) const
{ return rot13(from, from_end, from_next, to, to_limit, to_next); }
virtual result do_in(std::mbstate_t& state,
virtual result do_in(std::mbstate_t& /* state */,
const char* from,
const char* from_end,
const char*& from_next,
@ -38,7 +38,7 @@ protected:
char*& to_next) const
{ return rot13(from, from_end, from_next, to, to_limit, to_next); }
virtual result do_unshift(std::mbstate_t& state,
virtual result do_unshift(std::mbstate_t& state,
char* to,
char* to_limit,
char*& to_next) const;

View file

@ -26,7 +26,7 @@ std::codecvt_base::result rot13codecvt::rot13(const char* from,
return (from_next == from_end) ? std::codecvt_base::ok : std::codecvt_base::partial;
} // rot13
std::codecvt_base::result rot13codecvt::do_unshift(std::mbstate_t& state,
std::codecvt_base::result rot13codecvt::do_unshift(std::mbstate_t& /* state */,
char* to,
char* /* to_limit */,
char*& to_next) const