From Mike Wittman, "These changes add support for reflection of reference and const reference type representations via osgIntrospection::Type. This covers just the static type information; the dynamic behavior via Type::createInstance/Type::InvokeMethod should not be affected."
This commit is contained in:
@@ -29,7 +29,7 @@ namespace osgIntrospection
|
||||
{
|
||||
TypeNameAliasProxy(const std::string& name)
|
||||
{
|
||||
Type* type = Reflection::getOrRegisterType(typeid(C));
|
||||
Type* type = Reflection::getOrRegisterType(extended_typeid<C>());
|
||||
if (std::find(type->_aliases.begin(), type->_aliases.end(), name) == type->_aliases.end())
|
||||
type->_aliases.push_back(name);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user