From Eric Wing, pedantic warning fixes
This commit is contained in:
@@ -16,4 +16,4 @@ using namespace osg;
|
||||
|
||||
ConvexPlanarOccluder::~ConvexPlanarOccluder()
|
||||
{
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
@@ -123,4 +123,4 @@ void DeleteHandler::requestDelete(const osg::Referenced* object)
|
||||
}
|
||||
}
|
||||
|
||||
}; // end of namespace osg
|
||||
} // end of namespace osg
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -228,6 +228,6 @@ void Referenced::deletUsingDeleteHandler() const
|
||||
getDeleteHandler()->requestDelete(this);
|
||||
}
|
||||
|
||||
}; // end of namespace osg
|
||||
} // end of namespace osg
|
||||
|
||||
#endif //OSG_JAVA_BUILD
|
||||
|
||||
@@ -157,4 +157,4 @@ void dxtc_pixels::VFlip_DXT5() const
|
||||
|
||||
|
||||
|
||||
}; // namespace dxtc_tool
|
||||
} // namespace dxtc_tool
|
||||
|
||||
Reference in New Issue
Block a user