diff options
author | Marc Laukien <marc@zeroc.com> | 2002-09-04 20:51:30 +0000 |
---|---|---|
committer | Marc Laukien <marc@zeroc.com> | 2002-09-04 20:51:30 +0000 |
commit | a3ca9def505dff995e82f09170c0867819a31254 (patch) | |
tree | 8f6bd05da3250f2c1432689cc068a817ddaf60c0 /cpp/src/IcePatch/Client.cpp | |
parent | more IcePatch work (diff) | |
download | ice-a3ca9def505dff995e82f09170c0867819a31254.tar.bz2 ice-a3ca9def505dff995e82f09170c0867819a31254.tar.xz ice-a3ca9def505dff995e82f09170c0867819a31254.zip |
more IcePatch work
Diffstat (limited to 'cpp/src/IcePatch/Client.cpp')
-rw-r--r-- | cpp/src/IcePatch/Client.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/IcePatch/Client.cpp b/cpp/src/IcePatch/Client.cpp index 3d42e8378b3..2752706d817 100644 --- a/cpp/src/IcePatch/Client.cpp +++ b/cpp/src/IcePatch/Client.cpp @@ -374,7 +374,7 @@ IcePatch::Client::patch(const DirectoryDescPtr& dirDesc, const string& indent) c if(_remove) { StringSeq fullDirectoryListing = readDirectory(identityToPath(dirDesc->directory->ice_getIdentity())); - orphaned.reserve(fullDirectoryListing); + orphaned.reserve(fullDirectoryListing.size()); for(StringSeq::const_iterator p = fullDirectoryListing.begin(); p != fullDirectoryListing.end(); ++p) { if(*p != ".icepatch" && getSuffix(*p) != "md5") |