diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2006-05-09 13:07:41 +0000 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2006-05-09 13:07:41 +0000 |
commit | 197b6de9281b52d0b53c4b3fa3312e371b4469a9 (patch) | |
tree | bae93f8155da0770f5dd45d12ef1160ee99aed54 /cpp/demo/Ice/MFC/server/HelloServer.cpp | |
parent | Added identityToString and stringToIdentity to Communicator (diff) | |
download | ice-197b6de9281b52d0b53c4b3fa3312e371b4469a9.tar.bz2 ice-197b6de9281b52d0b53c4b3fa3312e371b4469a9.tar.xz ice-197b6de9281b52d0b53c4b3fa3312e371b4469a9.zip |
Fixed proxy and identity t/from string functions to use string converters
Diffstat (limited to 'cpp/demo/Ice/MFC/server/HelloServer.cpp')
-rw-r--r-- | cpp/demo/Ice/MFC/server/HelloServer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/demo/Ice/MFC/server/HelloServer.cpp b/cpp/demo/Ice/MFC/server/HelloServer.cpp index 55188bd77ef..4089ca16783 100644 --- a/cpp/demo/Ice/MFC/server/HelloServer.cpp +++ b/cpp/demo/Ice/MFC/server/HelloServer.cpp @@ -77,7 +77,7 @@ BOOL CHelloServerApp::InitInstance() // Instantiate the servant. // Ice::ObjectPtr servant = new HelloI(log, &dlg); - adapter->add(servant, Ice::stringToIdentity("hello")); + adapter->add(servant, communicator()->stringToIdentity("hello")); adapter->activate(); log->message("Ready to receive requests."); |