aboutsummaryrefslogtreecommitdiff
path: root/src/zenstore/caslog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/zenstore/caslog.cpp')
-rw-r--r--src/zenstore/caslog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zenstore/caslog.cpp b/src/zenstore/caslog.cpp
index 6c7b1b297..492ce9317 100644
--- a/src/zenstore/caslog.cpp
+++ b/src/zenstore/caslog.cpp
@@ -37,7 +37,7 @@ CasLogFile::~CasLogFile()
bool
CasLogFile::IsValid(std::filesystem::path FileName, size_t RecordSize)
{
- if (!std::filesystem::is_regular_file(FileName))
+ if (!IsFile(FileName))
{
return false;
}