diff options
Diffstat (limited to 'cpp/demo/book/printer/Server.cpp')
-rwxr-xr-x | cpp/demo/book/printer/Server.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/demo/book/printer/Server.cpp b/cpp/demo/book/printer/Server.cpp index 141a27797ce..929611ff33a 100755 --- a/cpp/demo/book/printer/Server.cpp +++ b/cpp/demo/book/printer/Server.cpp @@ -38,7 +38,7 @@ main(int argc, char* argv[]) "SimplePrinterAdapter", "default -p 10000"); Ice::ObjectPtr object = new PrinterI; adapter->add(object, - Ice::stringToIdentity("SimplePrinter")); + ic->stringToIdentity("SimplePrinter")); adapter->activate(); ic->waitForShutdown(); } catch (const Ice::Exception & e) { |