From b916407a2a06f8452e82b74dc44c54acbcc572b0 Mon Sep 17 00:00:00 2001 From: Daniel Wilhelm Date: Fri, 18 Apr 2014 17:27:42 +0200 Subject: 5.21 --- file_hierarchy.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'file_hierarchy.cpp') 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 } -- cgit