From Eric Wing, pedantic warning fixes

This commit is contained in:
Robert Osfield
2007-04-06 15:13:02 +00:00
parent acee7ccaee
commit 11d74fd54e
6 changed files with 15 additions and 15 deletions

View File

@@ -16,4 +16,4 @@ using namespace osg;
ConvexPlanarOccluder::~ConvexPlanarOccluder()
{
};
}

View File

@@ -30,16 +30,16 @@ TYPE* CopyOp::operator() (const TYPE* obj) const \
return const_cast<TYPE*>(obj); \
}
COPY_OP( Object, DEEP_COPY_OBJECTS );
COPY_OP( Node, DEEP_COPY_NODES );
COPY_OP( Drawable, DEEP_COPY_DRAWABLES );
COPY_OP( StateSet, DEEP_COPY_STATESETS );
COPY_OP( Texture, DEEP_COPY_TEXTURES );
COPY_OP( Image, DEEP_COPY_IMAGES );
COPY_OP( Array, DEEP_COPY_ARRAYS );
COPY_OP( PrimitiveSet, DEEP_COPY_PRIMITIVES );
COPY_OP( Shape, DEEP_COPY_SHAPES );
COPY_OP( Uniform, DEEP_COPY_UNIFORMS );
COPY_OP( Object, DEEP_COPY_OBJECTS )
COPY_OP( Node, DEEP_COPY_NODES )
COPY_OP( Drawable, DEEP_COPY_DRAWABLES )
COPY_OP( StateSet, DEEP_COPY_STATESETS )
COPY_OP( Texture, DEEP_COPY_TEXTURES )
COPY_OP( Image, DEEP_COPY_IMAGES )
COPY_OP( Array, DEEP_COPY_ARRAYS )
COPY_OP( PrimitiveSet, DEEP_COPY_PRIMITIVES )
COPY_OP( Shape, DEEP_COPY_SHAPES )
COPY_OP( Uniform, DEEP_COPY_UNIFORMS )
Referenced* CopyOp::operator() (const Referenced* ref) const
{

View File

@@ -123,4 +123,4 @@ void DeleteHandler::requestDelete(const osg::Referenced* object)
}
}
}; // end of namespace osg
} // end of namespace osg

View File

@@ -22,4 +22,4 @@ Object::Object(const Object& obj,const CopyOp& copyop):
_userData(copyop(obj._userData.get())) {}
}; // end of namespace osg
} // end of namespace osg

View File

@@ -228,6 +228,6 @@ void Referenced::deletUsingDeleteHandler() const
getDeleteHandler()->requestDelete(this);
}
}; // end of namespace osg
} // end of namespace osg
#endif //OSG_JAVA_BUILD

View File

@@ -157,4 +157,4 @@ void dxtc_pixels::VFlip_DXT5() const
}; // namespace dxtc_tool
} // namespace dxtc_tool