]> OCCT Git - occt.git/commit
0026381: OSD_File - close file on destruction
authorakz <akz@opencascade.com>
Thu, 1 Oct 2015 10:28:12 +0000 (13:28 +0300)
committerbugmaster <bugmaster@opencascade.com>
Thu, 1 Oct 2015 10:29:58 +0000 (13:29 +0300)
commit4485f3d0f084deb8eda9e005dc3c173c1269cb83
treed31c64ca3ae3294922de7a6f9d467377b0f0264f
parent90c8c7f32b34806076b7f0967cc5feaf10cd5fd6
0026381: OSD_File - close file on destruction

Add destructor for OSD_File, that unlocks and close file.

Remove senseless checks from status functions in code for Linux.

Destructor of OSD_FileNode is made protected to avoid possibility of deleting descendants by pointer to base class
src/OSD/OSD_File.cxx
src/OSD/OSD_File.hxx
src/OSD/OSD_FileNode.hxx