summaryrefslogtreecommitdiff
path: root/cpp/src/IcePatch2/ClientUtil.cpp
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2009-08-04 22:18:24 +0200
committerJose <jose@zeroc.com>2009-08-04 22:18:24 +0200
commit618deb2618ca2698141773f1658071c372d2cd3b (patch)
treea09f5965e8bcfea07a305df61505af2c35a71cdf /cpp/src/IcePatch2/ClientUtil.cpp
parentbug 4186 - PHP test failure (diff)
downloadice-618deb2618ca2698141773f1658071c372d2cd3b.tar.bz2
ice-618deb2618ca2698141773f1658071c372d2cd3b.tar.xz
ice-618deb2618ca2698141773f1658071c372d2cd3b.zip
4071 - Global namespace pollution
Diffstat (limited to 'cpp/src/IcePatch2/ClientUtil.cpp')
-rw-r--r--cpp/src/IcePatch2/ClientUtil.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/cpp/src/IcePatch2/ClientUtil.cpp b/cpp/src/IcePatch2/ClientUtil.cpp
index ede41b15399..364be6b8190 100644
--- a/cpp/src/IcePatch2/ClientUtil.cpp
+++ b/cpp/src/IcePatch2/ClientUtil.cpp
@@ -199,6 +199,9 @@ IcePatch2::Patcher::~Patcher()
{
}
+namespace
+{
+
class PatcherGetFileInfoSeqCB : public GetFileInfoSeqCB
{
public:
@@ -291,6 +294,8 @@ private:
typedef IceUtil::Handle<AMIGetFileInfoSeq> AMIGetFileInfoSeqPtr;
+}
+
bool
IcePatch2::Patcher::prepare()
{
@@ -714,6 +719,9 @@ IcePatch2::Patcher::updateFiles(const FileInfoSeq& files)
return result;
}
+namespace
+{
+
class AMIGetFileCompressed : public AMI_FileServer_getFileCompressed, public IceUtil::Monitor<IceUtil::Mutex>
{
public:
@@ -774,6 +782,8 @@ private:
typedef IceUtil::Handle<AMIGetFileCompressed> AMIGetFileCompressedPtr;
+}
+
bool
IcePatch2::Patcher::updateFilesInternal(const FileInfoSeq& files, const DecompressorPtr& decompressor)
{