X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fio%2Ffile.cpp;h=862b607c9d00e08db7ce4e10bc2843ba1bd473ba;hb=be67e7f4a28332bfab44d0cbc9f008e24ddf3510;hp=dacc5d7c0ea47b1edd5449555633b75dc9382013;hpb=70929f1a2265b112405eb2d4b03e1a374008b57d;p=libs%2Fcore.git diff --git a/source/io/file.cpp b/source/io/file.cpp index dacc5d7..862b607 100644 --- a/source/io/file.cpp +++ b/source/io/file.cpp @@ -153,5 +153,11 @@ SeekOffset File::tell() const return sys_seek(const_cast(handle), 0, S_CUR); } +const Handle &File::get_handle(Mode m) +{ + check_access(m); + return handle; +} + } // namespace IO } // namespace Msp