summaryrefslogtreecommitdiff
path: root/cpp/demo/Ice/pickle/ServantFactory.cpp
diff options
context:
space:
mode:
authorMarc Laukien <marc@zeroc.com>2001-09-17 06:02:06 +0000
committerMarc Laukien <marc@zeroc.com>2001-09-17 06:02:06 +0000
commita4cb03bd60fc53b05abfd36100c5c3ba4d367543 (patch)
tree7bdb07b989d3a13cc747bb035ca8793bb9c3ab6e /cpp/demo/Ice/pickle/ServantFactory.cpp
parentmore fixes, more docu (diff)
downloadice-a4cb03bd60fc53b05abfd36100c5c3ba4d367543.tar.bz2
ice-a4cb03bd60fc53b05abfd36100c5c3ba4d367543.tar.xz
ice-a4cb03bd60fc53b05abfd36100c5c3ba4d367543.zip
more cool stuff
Diffstat (limited to 'cpp/demo/Ice/pickle/ServantFactory.cpp')
-rw-r--r--cpp/demo/Ice/pickle/ServantFactory.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/demo/Ice/pickle/ServantFactory.cpp b/cpp/demo/Ice/pickle/ServantFactory.cpp
index 4b38b96a05c..fb162dbe0db 100644
--- a/cpp/demo/Ice/pickle/ServantFactory.cpp
+++ b/cpp/demo/Ice/pickle/ServantFactory.cpp
@@ -15,9 +15,9 @@
using namespace std;
Ice::ObjectPtr
-ServantFactory::create(const string& id)
+ServantFactory::create(const string& type)
{
- if (id == "::Persistent")
+ if (type == "::Persistent")
{
return new Persistent;
}