summaryrefslogtreecommitdiff
path: root/lib/shadow.cpp
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2014-04-18 17:22:36 +0200
committerDaniel Wilhelm <daniel@wili.li>2014-04-18 17:22:36 +0200
commitecb1524f8da7901338b263384fed3c612f117b4c (patch)
treee7e06423fe27ea5ab45f27fc4b39ae597ba72490 /lib/shadow.cpp
parent5.10 (diff)
downloadFreeFileSync-ecb1524f8da7901338b263384fed3c612f117b4c.tar.gz
FreeFileSync-ecb1524f8da7901338b263384fed3c612f117b4c.tar.bz2
FreeFileSync-ecb1524f8da7901338b263384fed3c612f117b4c.zip
5.11
Diffstat (limited to 'lib/shadow.cpp')
-rw-r--r--lib/shadow.cpp8
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());
}
bgstack15