mirror of
https://github.com/jezhiggins/arabica
synced 2024-11-17 07:48:50 +01:00
fixed unused param warnings
This commit is contained in:
parent
eaeaf1e03d
commit
65f1c0be23
2 changed files with 4 additions and 4 deletions
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue