summaryrefslogtreecommitdiff
path: root/shared/check_exist.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'shared/check_exist.cpp')
-rw-r--r--shared/check_exist.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/shared/check_exist.cpp b/shared/check_exist.cpp
index 97a25ec8..218b1a0c 100644
--- a/shared/check_exist.cpp
+++ b/shared/check_exist.cpp
@@ -81,11 +81,13 @@ util::ResultExist checkExistence(const Zstring& objName, size_t timeout) //timeo
util::ResultExist util::fileExists(const Zstring& filename, size_t timeout) //timeout in ms
{
- return ::checkExistence<ffs3::fileExists>(filename, timeout);
+ assert(!filename.empty());
+ return ::checkExistence<zen::fileExists>(filename, timeout);
}
util::ResultExist util::dirExists(const Zstring& dirname, size_t timeout) //timeout in ms
{
- return ::checkExistence<ffs3::dirExists>(dirname, timeout);
+ assert(!dirname.empty());
+ return ::checkExistence<zen::dirExists>(dirname, timeout);
}
bgstack15