X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fio%2Fmemory.h;h=809c372ff2dcb56d2b4f75a7aa90b6b7fe433c0b;hb=e352b6c33142c531e12dfe87cc25e5f1510731de;hp=ebd57eda09d1af492d32df338737edac7eb98fc1;hpb=c21ab7e49852585df01b4cc19599e25a918b581b;p=libs%2Fcore.git diff --git a/source/io/memory.h b/source/io/memory.h index ebd57ed..809c372 100644 --- a/source/io/memory.h +++ b/source/io/memory.h @@ -28,11 +28,8 @@ public: virtual bool getline(std::string &); virtual int get(); - virtual unsigned seek(int, SeekType); - virtual unsigned tell() const { return pos-begin; } - -private: - void check_mode(Mode) const; + virtual SeekOffset seek(SeekOffset, SeekType); + virtual SeekOffset tell() const { return pos-begin; } }; } // namespace IO