diff --git a/include/osg/Notify b/include/osg/Notify index 09235a661..5b38d7ad6 100644 --- a/include/osg/Notify +++ b/include/osg/Notify @@ -79,7 +79,7 @@ extern OSG_EXPORT std::ostream& notify(const NotifySeverity severity); inline std::ostream& notify(void) { return notify(osg::INFO); } -#define OSG_NOTIFY(level) if (isNotifyEnabled(level)) osg::notify(level) +#define OSG_NOTIFY(level) if (osg::isNotifyEnabled(level)) osg::notify(level) #define OSG_FATAL OSG_NOTIFY(osg::FALTAL) #define OSG_WARN OSG_NOTIFY(osg::WARN) #define OSG_NOTICE OSG_NOTIFY(osg::NOTICE)