diff --git a/include/osg/Referenced b/include/osg/Referenced index 8eef3d358..c807c295e 100644 --- a/include/osg/Referenced +++ b/include/osg/Referenced @@ -47,6 +47,7 @@ class OSG_EXPORT Referenced Referenced(); + /// deprecated, Referenced is now always uses thread safe ref/unref, use default Refernced() constructor instead explicit Referenced(bool threadSafeRefUnref); Referenced(const Referenced&); diff --git a/src/osg/Callback.cpp b/src/osg/Callback.cpp index f8e873b8d..064da571a 100644 --- a/src/osg/Callback.cpp +++ b/src/osg/Callback.cpp @@ -54,7 +54,7 @@ bool CallbackObject::run(osg::Object* object, osg::Object* data) return run(object,inputParameters, outputParameters); } -bool CallbackObject::run(osg::Object* object, osg::Parameters& inputParameters, osg::Parameters& outputParameters) const +bool CallbackObject::run(osg::Object* object, osg::Parameters& /*inputParameters*/, osg::Parameters& /*outputParameters*/) const { OSG_NOTICE<<"CallbackObject::run(object="<