diff options
author | Benoit Foucher <benoit@zeroc.com> | 2006-03-29 08:42:35 +0000 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2006-03-29 08:42:35 +0000 |
commit | f2b162b67c2382a2da555e7a960beaa3ab6b3997 (patch) | |
tree | 5ba1d3a23c1f6ea4e1792f77b762d2fb17bb7bde /cpp/src/IceGrid/AdapterCache.h | |
parent | Fixed invalid implicit conversion (diff) | |
download | ice-f2b162b67c2382a2da555e7a960beaa3ab6b3997.tar.bz2 ice-f2b162b67c2382a2da555e7a960beaa3ab6b3997.tar.xz ice-f2b162b67c2382a2da555e7a960beaa3ab6b3997.zip |
Random fixes.
Diffstat (limited to 'cpp/src/IceGrid/AdapterCache.h')
-rw-r--r-- | cpp/src/IceGrid/AdapterCache.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cpp/src/IceGrid/AdapterCache.h b/cpp/src/IceGrid/AdapterCache.h index de3c9626647..7fa3169d211 100644 --- a/cpp/src/IceGrid/AdapterCache.h +++ b/cpp/src/IceGrid/AdapterCache.h @@ -94,6 +94,8 @@ private: typedef std::vector<std::pair<std::string, ServerAdapterEntryPtr> > ReplicaSeq; ReplicaSeq _replicas; int _lastReplica; + + static std::pointer_to_unary_function<int, int> _rand; }; typedef IceUtil::Handle<ReplicaGroupEntry> ReplicaGroupEntryPtr; |