From ecb1524f8da7901338b263384fed3c612f117b4c Mon Sep 17 00:00:00 2001 From: Daniel Wilhelm Date: Fri, 18 Apr 2014 17:22:36 +0200 Subject: 5.11 --- lib/shadow.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lib/shadow.cpp') 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(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()); } -- cgit