diff options
author | Bernard Normier <bernard@zeroc.com> | 2007-12-21 11:12:14 -0500 |
---|---|---|
committer | Bernard Normier <bernard@zeroc.com> | 2007-12-21 11:12:14 -0500 |
commit | 08ec7524df324e627bbb8d93c509f0d90badbe3b (patch) | |
tree | a640ae99a5e35b210352150feef4f71832b265c5 /cpp/demo/Freeze/customEvictor/Client.cpp | |
parent | Merge branch 'master' of ssh://cvs.zeroc.com/home/git/ice (diff) | |
download | ice-08ec7524df324e627bbb8d93c509f0d90badbe3b.tar.bz2 ice-08ec7524df324e627bbb8d93c509f0d90badbe3b.tar.xz ice-08ec7524df324e627bbb8d93c509f0d90badbe3b.zip |
IceUtil cleanup (first commit)
Diffstat (limited to 'cpp/demo/Freeze/customEvictor/Client.cpp')
-rw-r--r-- | cpp/demo/Freeze/customEvictor/Client.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cpp/demo/Freeze/customEvictor/Client.cpp b/cpp/demo/Freeze/customEvictor/Client.cpp index 80bf2a11c76..53a4523cbd2 100644 --- a/cpp/demo/Freeze/customEvictor/Client.cpp +++ b/cpp/demo/Freeze/customEvictor/Client.cpp @@ -8,6 +8,7 @@ // ********************************************************************** #include <IceUtil/IceUtil.h> +#include <IceUtil/Random.h> #include <Ice/Ice.h> #include <Item.h> @@ -54,7 +55,7 @@ public: { for(int i = 0; i < readCount; ++i) { - int id = IceUtil::random(objectCount); + int id = IceUtilInternal::random(objectCount); ostringstream os; os << "P/N " << id; string name = os.str(); @@ -106,7 +107,7 @@ public: { for(int i = 0; i < writeCount; ++i) { - int id = IceUtil::random(objectCount); + int id = IceUtilInternal::random(objectCount); ostringstream os; os << "P/N " << id; |