vc6 fixes

This commit is contained in:
Glenn Maynard
2002-09-02 10:41:56 +00:00
parent 21ced7118d
commit ead8903bfb
+4 -4
View File
@@ -311,9 +311,9 @@ void GetCwd(CString &s)
class DirCache { class DirCache {
public: public:
struct CacheEntry { struct CacheEntry {
CArray<CString> files; CStringArray files;
CArray<CString> exts; CStringArray exts;
CArray<int> Attributes; CArray<int,int> Attributes;
CString dir; CString dir;
}; };
@@ -326,7 +326,7 @@ private:
CacheEntry *LoadDirCache( const CString &sPath ); CacheEntry *LoadDirCache( const CString &sPath );
/* We don't have too many directories ... XXX - glenn */ /* We don't have too many directories ... XXX - glenn */
CArray<CacheEntry *> directory_cache; CArray<CacheEntry *,CacheEntry *> directory_cache;
} static DirectoryCache; } static DirectoryCache;
void DirCache::FlushCache() void DirCache::FlushCache()