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/utility/filteredStreamTest.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/utility/filteredStreamTest.cpp') diff --git a/tests/utility/filteredStreamTest.cpp b/tests/utility/filteredStreamTest.cpp index 1926d9bb..bcc785e3 100644 --- a/tests/utility/filteredStreamTest.cpp +++ b/tests/utility/filteredStreamTest.cpp @@ -55,10 +55,10 @@ VMIME_TEST_SUITE_BEGIN void addChunk(const std::string& chunk) { m_chunks.push_back(chunk); } - const bool eof() const { return (m_index >= m_chunks.size()); } + bool eof() const { return (m_index >= m_chunks.size()); } void reset() { m_index = 0; } - const size_type read(value_type* const data, const size_type /* count */) + size_type read(value_type* const data, const size_type /* count */) { if (eof()) return 0; @@ -74,7 +74,7 @@ VMIME_TEST_SUITE_BEGIN return chunk.length(); } - const size_type skip(const size_type /* count */) + size_type skip(const size_type /* count */) { // Not supported return 0; -- cgit v1.2.3