Moved osgIntrospection across to standard OSG coding style.

This commit is contained in:
Robert Osfield
2005-04-29 11:19:58 +00:00
parent af13199e05
commit f2d696f871
31 changed files with 6057 additions and 6057 deletions

View File

@@ -24,16 +24,16 @@
namespace osgIntrospection
{
template<typename C>
struct TypeNameAliasProxy
{
TypeNameAliasProxy(const std::string &name)
{
Type *type = Reflection::getOrRegisterType(typeid(C));
if (std::find(type->aliases_.begin(), type->aliases_.end(), name) == type->aliases_.end())
type->aliases_.push_back(name);
}
};
template<typename C>
struct TypeNameAliasProxy
{
TypeNameAliasProxy(const std::string& name)
{
Type* type = Reflection::getOrRegisterType(typeid(C));
if (std::find(type->_aliases.begin(), type->_aliases.end(), name) == type->_aliases.end())
type->_aliases.push_back(name);
}
};
}