X-Git-Url: http://git.tdb.fi/?p=libs%2Fcore.git;a=blobdiff_plain;f=source%2Fio%2Ffile.cpp;fp=source%2Fio%2Ffile.cpp;h=862b607c9d00e08db7ce4e10bc2843ba1bd473ba;hp=dacc5d7c0ea47b1edd5449555633b75dc9382013;hb=f041a31f9a6e19da86a63912e5a8050f216e5bc5;hpb=5b541316a8c7bbf8b812c0f1e2dbebaa6563b0ee 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