Fixed compilation warnings.

This commit is contained in:
Vincent Richard 2013-03-06 22:49:21 +01:00
parent 4df4ed54dd
commit aa8f39e321
3 changed files with 3 additions and 3 deletions

View File

@ -49,7 +49,7 @@ mediaType::mediaType(const string& type, const string& subType)
void mediaType::parseImpl
(const parsingContext& ctx, const string& buffer, const string::size_type position,
(const parsingContext& /* ctx */, const string& buffer, const string::size_type position,
const string::size_type end, string::size_type* newPosition)
{
const string::value_type* const pend = buffer.data() + end;

View File

@ -124,7 +124,7 @@ const string SMTPCommandSet::getText() const
}
const bool SMTPCommandSet::isFinished() const
bool SMTPCommandSet::isFinished() const
{
return (m_pipeline && m_started) || (m_commands.size() == 0 && m_started);
}

View File

@ -70,7 +70,7 @@ public:
* @return true if all commands have been sent,
* or false otherwise
*/
const bool isFinished() const;
bool isFinished() const;
/** Returns the last command which has been sent.
*