diff options
Diffstat (limited to 'indra/llfilesystem/lldir_win32.cpp')
| -rwxr-xr-x[-rw-r--r--] | indra/llfilesystem/lldir_win32.cpp | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/indra/llfilesystem/lldir_win32.cpp b/indra/llfilesystem/lldir_win32.cpp index 58c080c982..2b478e5dce 100644..100755 --- a/indra/llfilesystem/lldir_win32.cpp +++ b/indra/llfilesystem/lldir_win32.cpp @@ -376,18 +376,7 @@ std::string LLDir_Win32::getCurPath() bool LLDir_Win32::fileExists(const std::string &filename) const { - llstat stat_data; - // Check the age of the file - // Now, we see if the files we've gathered are recent... - int res = LLFile::stat(filename, &stat_data); - if (!res) - { - return true; - } - else - { - return false; - } + return LLFile::exists(filename); } |
