mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-09-11 11:25:40 +03:00
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:
parent
0a91a34fc8
commit
90dae9609c
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user