summaryrefslogtreecommitdiff
path: root/cpp/demo/IceStorm/clock/Subscriber.cpp
diff options
context:
space:
mode:
authorBernard Normier <bernard@zeroc.com>2007-12-21 11:12:14 -0500
committerBernard Normier <bernard@zeroc.com>2007-12-21 11:12:14 -0500
commit08ec7524df324e627bbb8d93c509f0d90badbe3b (patch)
treea640ae99a5e35b210352150feef4f71832b265c5 /cpp/demo/IceStorm/clock/Subscriber.cpp
parentMerge branch 'master' of ssh://cvs.zeroc.com/home/git/ice (diff)
downloadice-08ec7524df324e627bbb8d93c509f0d90badbe3b.tar.bz2
ice-08ec7524df324e627bbb8d93c509f0d90badbe3b.tar.xz
ice-08ec7524df324e627bbb8d93c509f0d90badbe3b.zip
IceUtil cleanup (first commit)
Diffstat (limited to 'cpp/demo/IceStorm/clock/Subscriber.cpp')
-rw-r--r--cpp/demo/IceStorm/clock/Subscriber.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/cpp/demo/IceStorm/clock/Subscriber.cpp b/cpp/demo/IceStorm/clock/Subscriber.cpp
index 9b757574841..8a0500add41 100644
--- a/cpp/demo/IceStorm/clock/Subscriber.cpp
+++ b/cpp/demo/IceStorm/clock/Subscriber.cpp
@@ -8,6 +8,7 @@
// **********************************************************************
#include <IceUtil/IceUtil.h>
+#include <IceUtil/Options.h>
#include <Ice/Ice.h>
#include <IceStorm/IceStorm.h>
@@ -52,19 +53,19 @@ usage(const string& n)
int
Subscriber::run(int argc, char* argv[])
{
- IceUtil::Options opts;
+ IceUtilInternal::Options opts;
opts.addOpt("", "datagram");
opts.addOpt("", "twoway");
opts.addOpt("", "ordered");
opts.addOpt("", "oneway");
opts.addOpt("", "batch");
- IceUtil::Options::StringVector remaining;
+ IceUtilInternal::Options::StringVector remaining;
try
{
remaining = opts.parse(argc, (const char**)argv);
}
- catch(const IceUtil::BadOptException& e)
+ catch(const IceUtilInternal::BadOptException& e)
{
cerr << argv[0] << ": " << e.reason << endl;
usage(appName());