Index: src/libchcore/TLocalFilesystemFile.cpp =================================================================== diff -u -N -rad4fe0f8085b15527158073aa76eb2d9ef80b0e5 -r4fe995b304ea342b50293f92d3c1992b43b820f7 --- src/libchcore/TLocalFilesystemFile.cpp (.../TLocalFilesystemFile.cpp) (revision ad4fe0f8085b15527158073aa76eb2d9ef80b0e5) +++ src/libchcore/TLocalFilesystemFile.cpp (.../TLocalFilesystemFile.cpp) (revision 4fe995b304ea342b50293f92d3c1992b43b820f7) @@ -47,7 +47,7 @@ { try { - Close(); + InternalClose(); } catch (const std::exception&) { @@ -220,13 +220,18 @@ } } - void TLocalFilesystemFile::Close() + void TLocalFilesystemFile::InternalClose() { if (m_hFile != INVALID_HANDLE_VALUE) ::CloseHandle(m_hFile); m_hFile = INVALID_HANDLE_VALUE; } + void TLocalFilesystemFile::Close() + { + InternalClose(); + } + file_size_t TLocalFilesystemFile::GetFileSize() const { if (!IsOpen())