diff options
author | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 17:22:36 +0200 |
---|---|---|
committer | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 17:22:36 +0200 |
commit | ecb1524f8da7901338b263384fed3c612f117b4c (patch) | |
tree | e7e06423fe27ea5ab45f27fc4b39ae597ba72490 /lib/shadow.cpp | |
parent | 5.10 (diff) | |
download | FreeFileSync-ecb1524f8da7901338b263384fed3c612f117b4c.tar.gz FreeFileSync-ecb1524f8da7901338b263384fed3c612f117b4c.tar.bz2 FreeFileSync-ecb1524f8da7901338b263384fed3c612f117b4c.zip |
5.11
Diffstat (limited to 'lib/shadow.cpp')
-rw-r--r-- | lib/shadow.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/shadow.cpp b/lib/shadow.cpp index 8ef86f30..6dae97b1 100644 --- a/lib/shadow.cpp +++ b/lib/shadow.cpp @@ -108,13 +108,13 @@ Zstring ShadowCopy::makeShadowCopy(const Zstring& inputFile) } //get or create instance of shadow volume - VolNameShadowMap::const_iterator iter = shadowVol.find(volumeNamePf); - if (iter == shadowVol.end()) + VolNameShadowMap::const_iterator it = shadowVol.find(volumeNamePf); + if (it == shadowVol.end()) { auto newEntry = std::make_shared<ShadowVolume>(volumeNamePf); - iter = shadowVol.insert(std::make_pair(volumeNamePf, newEntry)).first; + it = shadowVol.insert(std::make_pair(volumeNamePf, newEntry)).first; } //return filename alias on shadow copy volume - return iter->second->geNamePf() + Zstring(inputFile.c_str() + pos + volumeNamePf.length()); + return it->second->geNamePf() + Zstring(inputFile.c_str() + pos + volumeNamePf.length()); } |