diff options
Diffstat (limited to 'cpp/demo/Ice/pickle/ServantFactory.cpp')
-rw-r--r-- | cpp/demo/Ice/pickle/ServantFactory.cpp | 4 |
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; } |