- ifdef'd IPv6 tests

- fixed const-ness of stream() member functions to MemoryReader/Writer
This commit is contained in:
Aleksandar Fabijanic
2012-07-31 04:25:32 +00:00
parent d1a1d54f58
commit 672d4758c3
3 changed files with 18 additions and 4 deletions

View File

@@ -200,7 +200,12 @@ public:
return _data;
}
MemoryInputStream& stream() const
const MemoryInputStream& stream() const
{
return _istr;
}
MemoryInputStream& stream()
{
return _istr;
}

View File

@@ -215,7 +215,12 @@ public:
return _data;
}
MemoryOutputStream& stream() const
const MemoryOutputStream& stream() const
{
return _ostr;
}
MemoryOutputStream& stream()
{
return _ostr;
}