mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-26 10:32:56 +01:00
fix(Foundation): Poco::BasicMemoryStreamBuf is missing seekpos() #4492
This commit is contained in:
@@ -140,6 +140,12 @@ public:
|
||||
|
||||
return newoff;
|
||||
}
|
||||
|
||||
virtual pos_type seekpos(pos_type pos, std::ios_base::openmode which = std::ios_base::in | std::ios_base::out)
|
||||
{
|
||||
const off_type off = pos;
|
||||
return seekoff(off, std::ios::beg, which);
|
||||
}
|
||||
|
||||
virtual int sync()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user