From 896015bf533c6bbca3026f6d47400d7241a3935a Mon Sep 17 00:00:00 2001 From: Denis Krjuchkov Date: Sun, 5 May 2013 13:34:12 +0600 Subject: DirectoryReader: rename Failed() to HasFailed() for consistency with TextFile --- src/Mapper.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Mapper.cxx') diff --git a/src/Mapper.cxx b/src/Mapper.cxx index 559df0d23..40e762e4b 100644 --- a/src/Mapper.cxx +++ b/src/Mapper.cxx @@ -100,7 +100,7 @@ check_directory(const char *path_utf8, const Path &path_fs) #endif const DirectoryReader reader(path_fs); - if (reader.Failed() && errno == EACCES) + if (reader.HasFailed() && errno == EACCES) g_warning("No permission to read directory: %s", path_utf8); } -- cgit v1.2.3