diff options
| author | Stefan Boberg <[email protected]> | 2021-10-25 15:51:25 +0200 |
|---|---|---|
| committer | Stefan Boberg <[email protected]> | 2021-10-25 15:51:25 +0200 |
| commit | 75a307efc0f9e182bb1b64ae54cfff18ce5dc56e (patch) | |
| tree | 5a2690b274cfc5e342f16b9203ab4089f77adc45 | |
| parent | general: Fixed up some vcxproj files which had a warning level set (diff) | |
| download | zen-75a307efc0f9e182bb1b64ae54cfff18ce5dc56e.tar.xz zen-75a307efc0f9e182bb1b64ae54cfff18ce5dc56e.zip | |
cas: minor improvement to CasLogFile::Open error handling
| -rw-r--r-- | zenstore/caslog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zenstore/caslog.cpp b/zenstore/caslog.cpp index 7e323d6c5..38d0f818e 100644 --- a/zenstore/caslog.cpp +++ b/zenstore/caslog.cpp @@ -46,7 +46,7 @@ CasLogFile::Open(std::filesystem::path FileName, size_t RecordSize, bool IsCreat m_RecordSize = RecordSize; std::error_code Ec; - m_File.Open(FileName, IsCreate); + m_File.Open(FileName, IsCreate, Ec); if (Ec) { |