diff options
author | Jose <jose@zeroc.com> | 2009-08-04 22:18:24 +0200 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2009-08-04 22:18:24 +0200 |
commit | 618deb2618ca2698141773f1658071c372d2cd3b (patch) | |
tree | a09f5965e8bcfea07a305df61505af2c35a71cdf /cpp/src/IcePatch2/ClientUtil.cpp | |
parent | bug 4186 - PHP test failure (diff) | |
download | ice-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.cpp | 10 |
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) { |