diff options
Diffstat (limited to 'cpp/test/Ice/objects/Client.cpp')
-rw-r--r-- | cpp/test/Ice/objects/Client.cpp | 56 |
1 files changed, 28 insertions, 28 deletions
diff --git a/cpp/test/Ice/objects/Client.cpp b/cpp/test/Ice/objects/Client.cpp index 3c057524e36..3e7f3fcfa13 100644 --- a/cpp/test/Ice/objects/Client.cpp +++ b/cpp/test/Ice/objects/Client.cpp @@ -20,25 +20,25 @@ public: virtual Ice::ObjectPtr create(const string& type) { - if(type == "::Test::B") - { - return new BI; - } - else if(type == "::Test::C") - { - return new CI; - } - else if(type == "::Test::D") - { - return new DI; - } - assert(false); // Should never be reached - return 0; + if(type == "::Test::B") + { + return new BI; + } + else if(type == "::Test::C") + { + return new CI; + } + else if(type == "::Test::D") + { + return new DI; + } + assert(false); // Should never be reached + return 0; } virtual void destroy() { - // Nothing to do + // Nothing to do } }; @@ -64,26 +64,26 @@ main(int argc, char* argv[]) try { - communicator = Ice::initialize(argc, argv); - status = run(argc, argv, communicator); + communicator = Ice::initialize(argc, argv); + status = run(argc, argv, communicator); } catch(const Ice::Exception& ex) { - cerr << ex << endl; - status = EXIT_FAILURE; + cerr << ex << endl; + status = EXIT_FAILURE; } if(communicator) { - try - { - communicator->destroy(); - } - catch(const Ice::Exception& ex) - { - cerr << ex << endl; - status = EXIT_FAILURE; - } + try + { + communicator->destroy(); + } + catch(const Ice::Exception& ex) + { + cerr << ex << endl; + status = EXIT_FAILURE; + } } return status; |