diff options
author | Matthew Newhook <matthew@zeroc.com> | 2009-08-07 18:01:43 +0800 |
---|---|---|
committer | Matthew Newhook <matthew@zeroc.com> | 2009-08-07 18:01:43 +0800 |
commit | 5c9e6e5d3d1873ea232bf05ed2f6be8d290c8583 (patch) | |
tree | 66b739dff9ee9cbdc113a158c30ef80ae84ac218 /cpp/src/IceUtil/UUID.cpp | |
parent | Revert "Changes for bug 3962 and 4714" (diff) | |
download | ice-5c9e6e5d3d1873ea232bf05ed2f6be8d290c8583.tar.bz2 ice-5c9e6e5d3d1873ea232bf05ed2f6be8d290c8583.tar.xz ice-5c9e6e5d3d1873ea232bf05ed2f6be8d290c8583.zip |
merged in both of Jose's 4071 fixes.
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() { |