aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2021-10-25 15:51:25 +0200
committerStefan Boberg <[email protected]>2021-10-25 15:51:25 +0200
commit75a307efc0f9e182bb1b64ae54cfff18ce5dc56e (patch)
tree5a2690b274cfc5e342f16b9203ab4089f77adc45
parentgeneral: Fixed up some vcxproj files which had a warning level set (diff)
downloadzen-75a307efc0f9e182bb1b64ae54cfff18ce5dc56e.tar.xz
zen-75a307efc0f9e182bb1b64ae54cfff18ce5dc56e.zip
cas: minor improvement to CasLogFile::Open error handling
-rw-r--r--zenstore/caslog.cpp2
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)
{