diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2009-04-23 09:23:16 -0230 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2009-04-23 09:23:16 -0230 |
commit | c582bd94f73c03d3599c96de9b4962d301040574 (patch) | |
tree | db0ef6ec3745eaefc7d7d5f05904b131a9dc94eb /cpp/demo/Ice/minimal/Client.cpp | |
parent | Bug 3137 - createObjectAdpter methods write properties (diff) | |
download | ice-c582bd94f73c03d3599c96de9b4962d301040574.tar.bz2 ice-c582bd94f73c03d3599c96de9b4962d301040574.tar.xz ice-c582bd94f73c03d3599c96de9b4962d301040574.zip |
Bug 3969 - minimal demo should still parse command line arguments
Diffstat (limited to 'cpp/demo/Ice/minimal/Client.cpp')
-rw-r--r-- | cpp/demo/Ice/minimal/Client.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/demo/Ice/minimal/Client.cpp b/cpp/demo/Ice/minimal/Client.cpp index 7ccaa6bdbfd..c847ffdc84b 100644 --- a/cpp/demo/Ice/minimal/Client.cpp +++ b/cpp/demo/Ice/minimal/Client.cpp @@ -14,13 +14,13 @@ using namespace std; using namespace Demo; int -main() +main(int argc, char* argv[]) { Ice::CommunicatorPtr communicator; try { - communicator = Ice::initialize(); + communicator = Ice::initialize(argc, argv); HelloPrx hello = HelloPrx::checkedCast(communicator->stringToProxy("hello:tcp -p 10000")); hello->sayHello(); communicator->destroy(); |