for new boost

git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/branches/hieu_ftemplate_2@2284 1f5c12ca-751b-0410-a591-d2e778427230
This commit is contained in:
hieuhoang1972 2009-04-15 14:49:28 +00:00
parent 0a91a34fc8
commit 90dae9609c

View File

@ -345,7 +345,7 @@ void DeleteCacheFile(const string &cachePathStr)
directory_iterator end;
for (directory_iterator iter(cachePath) ; iter != end ; ++iter)
{
path &filePath = *iter;
const path &filePath = iter->path();
// delete of old
if (filePath.leaf().find(PROJECT_NAME) == 0)
{