summaryrefslogtreecommitdiff
path: root/cpp/src/IceGrid/ObjectCache.h
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2009-09-08 15:56:07 -0230
committerDwayne Boone <dwayne@zeroc.com>2009-09-08 15:56:07 -0230
commit3f6247914f665a141bec4a5091b1935a22ac94ef (patch)
treef61a2f346d3af469356ed505cb5556e1d75514df /cpp/src/IceGrid/ObjectCache.h
parentBug 4246 - tolower/toupper on modify ascii (diff)
downloadice-3f6247914f665a141bec4a5091b1935a22ac94ef.tar.bz2
ice-3f6247914f665a141bec4a5091b1935a22ac94ef.tar.xz
ice-3f6247914f665a141bec4a5091b1935a22ac94ef.zip
Bug 3459 - use rand_s on windows for random number generation
Diffstat (limited to 'cpp/src/IceGrid/ObjectCache.h')
-rw-r--r--cpp/src/IceGrid/ObjectCache.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/IceGrid/ObjectCache.h b/cpp/src/IceGrid/ObjectCache.h
index ce6b2ab279a..3e068dcc0ba 100644
--- a/cpp/src/IceGrid/ObjectCache.h
+++ b/cpp/src/IceGrid/ObjectCache.h
@@ -77,7 +77,7 @@ private:
const Ice::CommunicatorPtr _communicator;
std::map<std::string, TypeEntry> _types;
- static std::pointer_to_unary_function<int, int> _rand;
+ static std::pointer_to_unary_function<int, unsigned int> _rand;
};
};