include/osg/Callback: nullptr -> NULL
Fixes travis, which explictly requires c++98
This commit is contained in:
parent
40bddd8d95
commit
f59ab840f1
@ -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<T*>(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<const T*>(callback))
|
||||
return cb;
|
||||
|
Loading…
Reference in New Issue
Block a user