Fix Clang and OS X Travis CI warnings

coverity_scan^2
Allofich 8 years ago
parent 7be46eb1f0
commit 621d3e56cf

@ -179,15 +179,6 @@ namespace
{
}
virtual void apply(osg::Group& node)
{
traverse(node);
}
virtual void apply(osg::MatrixTransform& node)
{
traverse(node);
}
void remove()
{
for (RemoveVec::iterator it = mToRemove.begin(); it != mToRemove.end(); ++it)
@ -209,6 +200,15 @@ namespace
applyImpl(drw);
}
virtual void apply(osg::Group& node)
{
traverse(node);
}
virtual void apply(osg::MatrixTransform& node)
{
traverse(node);
}
void applyImpl(osg::Node& node)
{
osg::NodePath::iterator parent = getNodePath().end()-2;
@ -240,6 +240,15 @@ namespace
applyImpl(drw);
}
virtual void apply(osg::Group& node)
{
traverse(node);
}
virtual void apply(osg::MatrixTransform& node)
{
traverse(node);
}
void applyImpl(osg::Node& node)
{
const std::string toFind = "tri bip";

Loading…
Cancel
Save