diff options
Diffstat (limited to 'cpp/src/IcePatch/Server.cpp')
-rw-r--r-- | cpp/src/IcePatch/Server.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/cpp/src/IcePatch/Server.cpp b/cpp/src/IcePatch/Server.cpp index 54103864ee7..e7f416d1195 100644 --- a/cpp/src/IcePatch/Server.cpp +++ b/cpp/src/IcePatch/Server.cpp @@ -230,13 +230,13 @@ IcePatch::Updater::destroy() void IcePatch::Updater::cleanup(const FileDescSeq& fileDescSeq) { - if(_destroy) - { - return; - } - for(FileDescSeq::const_iterator p = fileDescSeq.begin(); p != fileDescSeq.end(); ++p) { + if(_destroy) + { + return; + } + DirectoryDescPtr directoryDesc = DirectoryDescPtr::dynamicCast(*p); if(directoryDesc) { |