diff options
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; } |