diff options
Diffstat (limited to 'src/File.cc')
| -rw-r--r-- | src/File.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/File.cc b/src/File.cc index b6fe6643..fcd9c27a 100644 --- a/src/File.cc +++ b/src/File.cc @@ -115,8 +115,8 @@ bool File::mkdirs() { if(util::startsWith(name, A2STR::SLASH_C)) { accDir = A2STR::SLASH_C; } - for(std::vector<std::string>::const_iterator itr = dirs.begin(); - itr != dirs.end(); ++itr, accDir += A2STR::SLASH_C) { + for(std::vector<std::string>::const_iterator itr = dirs.begin(), + eoi = dirs.end(); itr != eoi; ++itr, accDir += A2STR::SLASH_C) { accDir += *itr; if(File(accDir).isDir()) { continue; |
