Moved osgIntrospection across to standard OSG coding style.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user