diff options
Diffstat (limited to 'py/modules/IcePy/ObjectFactory.cpp')
-rw-r--r-- | py/modules/IcePy/ObjectFactory.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/py/modules/IcePy/ObjectFactory.cpp b/py/modules/IcePy/ObjectFactory.cpp index 80671824c20..1023ec70399 100644 --- a/py/modules/IcePy/ObjectFactory.cpp +++ b/py/modules/IcePy/ObjectFactory.cpp @@ -32,7 +32,7 @@ IcePy::ObjectFactory::create(const string& id) // // Get the type information. // - ClassInfoPtr info = ClassInfoPtr::dynamicCast(getTypeInfo(id)); + ClassInfoPtr info = lookupClassInfo(id); if(!info) { return 0; |