summaryrefslogtreecommitdiff
path: root/lib/shadow.cpp
diff options
context:
space:
mode:
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