summaryrefslogtreecommitdiff
path: root/cs/demo/Ice/value/ObjectFactory.cs
diff options
context:
space:
mode:
authorMichi Henning <michi@zeroc.com>2004-09-14 04:45:05 +0000
committerMichi Henning <michi@zeroc.com>2004-09-14 04:45:05 +0000
commit80515126f7f61d05c20e71f9f41f0dbd9cb18aee (patch)
tree181733757a6953ff2c0a7042041645eacd722546 /cs/demo/Ice/value/ObjectFactory.cs
parentadding AMD tests (diff)
downloadice-80515126f7f61d05c20e71f9f41f0dbd9cb18aee.tar.bz2
ice-80515126f7f61d05c20e71f9f41f0dbd9cb18aee.tar.xz
ice-80515126f7f61d05c20e71f9f41f0dbd9cb18aee.zip
Change to disallow global definitions broke this demo because it used the
old type IDs. Fixed now.
Diffstat (limited to 'cs/demo/Ice/value/ObjectFactory.cs')
-rwxr-xr-xcs/demo/Ice/value/ObjectFactory.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/cs/demo/Ice/value/ObjectFactory.cs b/cs/demo/Ice/value/ObjectFactory.cs
index 91d856f527f..750dea3720c 100755
--- a/cs/demo/Ice/value/ObjectFactory.cs
+++ b/cs/demo/Ice/value/ObjectFactory.cs
@@ -14,12 +14,12 @@ class ObjectFactory : Ice.LocalObjectImpl, Ice.ObjectFactory
{
public virtual Ice.Object create(string type)
{
- if(type.Equals("::Printer"))
+ if(type.Equals("::Demo::Printer"))
{
return new PrinterI();
}
- if(type.Equals("::DerivedPrinter"))
+ if(type.Equals("::Demo::DerivedPrinter"))
{
return new DerivedPrinterI();
}