aboutsummaryrefslogtreecommitdiffstats
path: root/tests/utility/filteredStreamTest.cpp
diff options
context:
space:
mode:
authorVincent Richard <[email protected]>2008-10-12 10:05:28 +0000
committerVincent Richard <[email protected]>2008-10-12 10:05:28 +0000
commit3f4226eaac5d0d30be1f4ca5d5cf010c98a7ce7d (patch)
tree1968196db0d6ae27fd70d0732ff3defed0efb61f /tests/utility/filteredStreamTest.cpp
parentEncode '?' characters to avoid breaking QP encoding (Zarafa). (diff)
downloadvmime-3f4226eaac5d0d30be1f4ca5d5cf010c98a7ce7d.tar.gz
vmime-3f4226eaac5d0d30be1f4ca5d5cf010c98a7ce7d.zip
Fixed compilation warnings.
Diffstat (limited to 'tests/utility/filteredStreamTest.cpp')
-rw-r--r--tests/utility/filteredStreamTest.cpp6
1 files changed, 3 insertions, 3 deletions
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;