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/IceUtil/UUID.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/IceUtil/UUID.cpp')
-rw-r--r-- | cpp/src/IceUtil/UUID.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cpp/src/IceUtil/UUID.cpp b/cpp/src/IceUtil/UUID.cpp index 917609685e3..0748670d2fa 100644 --- a/cpp/src/IceUtil/UUID.cpp +++ b/cpp/src/IceUtil/UUID.cpp @@ -56,6 +56,9 @@ PidInitializer pidInitializer; }; #endif +namespace +{ + // Helper char to hex functions // inline void halfByteToHex(unsigned char hb, char*& hexBuffer) @@ -79,6 +82,8 @@ inline void bytesToHex(unsigned char* bytes, size_t len, char*& hexBuffer) } } +} + string IceUtil::generateUUID() { |