Changed debug messages to use printf to avoid issues with using notify at startup and exit.
This commit is contained in:
parent
38276b0d92
commit
087559f7a0
@ -171,7 +171,7 @@ Referenced::Referenced():
|
||||
{
|
||||
OpenThreads::ScopedLock<OpenThreads::Mutex> lock(getNumObjectMutex());
|
||||
++s_numObjects;
|
||||
OSG_NOTICE<<"Object created, total num="<<s_numObjects<<std::endl;
|
||||
printf("Object created, total num=%d\n",s_numObjects);
|
||||
}
|
||||
#endif
|
||||
|
||||
@ -198,7 +198,7 @@ Referenced::Referenced(bool threadSafeRefUnref):
|
||||
{
|
||||
OpenThreads::ScopedLock<OpenThreads::Mutex> lock(getNumObjectMutex());
|
||||
++s_numObjects;
|
||||
OSG_NOTICE<<"Object created, total num="<<s_numObjects<<std::endl;
|
||||
printf("Object created, total num=%d\n",s_numObjects);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
@ -224,7 +224,7 @@ Referenced::Referenced(const Referenced&):
|
||||
{
|
||||
OpenThreads::ScopedLock<OpenThreads::Mutex> lock(getNumObjectMutex());
|
||||
++s_numObjects;
|
||||
OSG_NOTICE<<"Object created, total num="<<s_numObjects<<std::endl;
|
||||
printf("Object created, total num=%d\n",s_numObjects);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
@ -235,7 +235,7 @@ Referenced::~Referenced()
|
||||
{
|
||||
OpenThreads::ScopedLock<OpenThreads::Mutex> lock(getNumObjectMutex());
|
||||
--s_numObjects;
|
||||
OSG_NOTICE<<"Object deleted, total num="<<s_numObjects<<std::endl;
|
||||
printf("Object created, total num=%d\n",s_numObjects);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user