summaryrefslogtreecommitdiff
path: root/cpp/src/IcePatch/Client.cpp
diff options
context:
space:
mode:
authorMarc Laukien <marc@zeroc.com>2002-09-04 20:51:30 +0000
committerMarc Laukien <marc@zeroc.com>2002-09-04 20:51:30 +0000
commita3ca9def505dff995e82f09170c0867819a31254 (patch)
tree8f6bd05da3250f2c1432689cc068a817ddaf60c0 /cpp/src/IcePatch/Client.cpp
parentmore IcePatch work (diff)
downloadice-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.cpp2
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")