diff --git a/include/osg/Callback b/include/osg/Callback index b7a0cc8cb..d6e969b85 100644 --- a/include/osg/Callback +++ b/include/osg/Callback @@ -126,7 +126,7 @@ class OSG_EXPORT Callback : public virtual Object { static T* findNestedCallback(osg::Callback* callback) { if (!callback) - return nullptr; + return NULL; if (T* cb = dynamic_cast(callback)) return cb; @@ -139,7 +139,7 @@ class OSG_EXPORT Callback : public virtual Object { static const T* findNestedCallback(const osg::Callback* callback) { if (!callback) - return nullptr; + return NULL; if (const T* cb = dynamic_cast(callback)) return cb;