summaryrefslogtreecommitdiff
path: root/file_hierarchy.cpp
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2014-04-18 17:27:42 +0200
committerDaniel Wilhelm <daniel@wili.li>2014-04-18 17:27:42 +0200
commitb916407a2a06f8452e82b74dc44c54acbcc572b0 (patch)
tree46358e0bb035fca0f42edb4b5b8aa5f1613814af /file_hierarchy.cpp
parent5.20 (diff)
downloadFreeFileSync-b916407a2a06f8452e82b74dc44c54acbcc572b0.tar.gz
FreeFileSync-b916407a2a06f8452e82b74dc44c54acbcc572b0.tar.bz2
FreeFileSync-b916407a2a06f8452e82b74dc44c54acbcc572b0.zip
5.21
Diffstat (limited to 'file_hierarchy.cpp')
-rw-r--r--file_hierarchy.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/file_hierarchy.cpp b/file_hierarchy.cpp
index c20b971e..ac62d605 100644
--- a/file_hierarchy.cpp
+++ b/file_hierarchy.cpp
@@ -30,7 +30,7 @@ void HierarchyObject::removeEmptyRec()
if (emptyExisting) //notify if actual deletion happened
notifySyncCfgChanged(); //mustn't call this in ~FileSystemObject(), since parent, usually a DirPair, is already partially destroyed and existing as a pure HierarchyObject!
- for (auto& subDir : refSubDirs())
+ for (DirPair& subDir : refSubDirs())
subDir.removeEmptyRec(); //recurse
}
bgstack15