fix(Foundation): Poco::BasicMemoryStreamBuf is missing seekpos() #4492

This commit is contained in:
Günter Obiltschnig
2024-03-22 08:53:14 +01:00
parent 77eb14eebd
commit 5fec3deeb9
2 changed files with 20 additions and 0 deletions

View File

@@ -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()
{