diff options
author | Oz Linden <oz@lindenlab.com> | 2011-01-17 10:39:54 -0500 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2011-01-17 10:39:54 -0500 |
commit | 7f58b4f2928f60f0a93f49c0897f84af3ea8a78b (patch) | |
tree | ed64dc5178900cb9d31ecc47887fce7755962e7c /indra/llvfs/lldir.cpp | |
parent | dee9c80862ed54138889de8095087dda340ac073 (diff) | |
parent | 74fdba829574e5132fec6633b0ddcd2feb9fe51e (diff) |
merge changes for vwr-24401
Diffstat (limited to 'indra/llvfs/lldir.cpp')
-rw-r--r-- | indra/llvfs/lldir.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/indra/llvfs/lldir.cpp b/indra/llvfs/lldir.cpp index ab7d15dfef..64556bcb4c 100644 --- a/indra/llvfs/lldir.cpp +++ b/indra/llvfs/lldir.cpp @@ -40,8 +40,6 @@ #include "lltimer.h" // ms_sleep() #include "lluuid.h" -#include "lldiriterator.h" - #if LL_WINDOWS #include "lldir_win32.h" LLDir_Win32 gDirUtil; @@ -85,9 +83,7 @@ S32 LLDir::deleteFilesInDir(const std::string &dirname, const std::string &mask) std::string filename; std::string fullpath; S32 result; - - LLDirIterator iter(dirname, mask); - while (iter.next(filename)) + while (getNextFileInDir(dirname, mask, filename)) { fullpath = dirname; fullpath += getDirDelimiter(); |