diff options
author | Mark Spruiell <mes@zeroc.com> | 2004-09-09 23:44:19 +0000 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2004-09-09 23:44:19 +0000 |
commit | 8ef8955388747862f93e25ed8b3a74bde4de7c97 (patch) | |
tree | a272cf84d6be5e0250d0376da9bd8b8b265f7ff6 /py/modules/IcePy/ObjectFactory.cpp | |
parent | adding router, locator operations; operation changes (diff) | |
download | ice-8ef8955388747862f93e25ed8b3a74bde4de7c97.tar.bz2 ice-8ef8955388747862f93e25ed8b3a74bde4de7c97.tar.xz ice-8ef8955388747862f93e25ed8b3a74bde4de7c97.zip |
changing class info to have isAbstract member
Diffstat (limited to 'py/modules/IcePy/ObjectFactory.cpp')
-rw-r--r-- | py/modules/IcePy/ObjectFactory.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/py/modules/IcePy/ObjectFactory.cpp b/py/modules/IcePy/ObjectFactory.cpp index fd461295c12..80671824c20 100644 --- a/py/modules/IcePy/ObjectFactory.cpp +++ b/py/modules/IcePy/ObjectFactory.cpp @@ -60,9 +60,9 @@ IcePy::ObjectFactory::create(const string& id) } // - // Check if the requested type is a concrete class. If so, we can instantiate it directly. + // If the requested type is an abstract class, then we give up. // - if(info->isInterface || (info->id != Ice::Object::ice_staticId() && info->hasOperations())) + if(info->isAbstract) { return 0; } |