From 3f4226eaac5d0d30be1f4ca5d5cf010c98a7ce7d Mon Sep 17 00:00:00 2001 From: Vincent Richard Date: Sun, 12 Oct 2008 10:05:28 +0000 Subject: Fixed compilation warnings. --- tests/testUtils.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'tests/testUtils.cpp') diff --git a/tests/testUtils.cpp b/tests/testUtils.cpp index a774068d..0fa816c9 100644 --- a/tests/testUtils.cpp +++ b/tests/testUtils.cpp @@ -45,7 +45,7 @@ void testSocket::disconnect() } -const bool testSocket::isConnected() const +bool testSocket::isConnected() const { return m_connected; } @@ -66,7 +66,7 @@ void testSocket::send(const vmime::string& buffer) } -const int testSocket::receiveRaw(char* buffer, const int count) +int testSocket::receiveRaw(char* buffer, const int count) { const int n = std::min(count, static_cast (m_inBuffer.size())); @@ -142,7 +142,7 @@ const vmime::string lineBasedTestSocket::getNextLine() return line; } -const bool lineBasedTestSocket::haveMoreLines() const +bool lineBasedTestSocket::haveMoreLines() const { return !m_lines.empty(); } @@ -156,7 +156,7 @@ testTimeoutHandler::testTimeoutHandler(const unsigned int delay) } -const bool testTimeoutHandler::isTimeOut() +bool testTimeoutHandler::isTimeOut() { return (vmime::platform::getHandler()->getUnixTime() - m_start) >= m_delay; } @@ -168,7 +168,7 @@ void testTimeoutHandler::resetTimeOut() } -const bool testTimeoutHandler::handleTimeOut() +bool testTimeoutHandler::handleTimeOut() { return false; } -- cgit v1.2.3