Moved implementation of Observer destructor and constructor from header into .cpp to avoid possible issues with imports/exports under Windows build.

This commit is contained in:
Robert Osfield
2010-02-19 20:18:48 +00:00
parent 8b67830f6e
commit b1001c2a9c
2 changed files with 10 additions and 1 deletions

View File

@@ -24,7 +24,8 @@ namespace osg {
class OSG_EXPORT Observer
{
public:
virtual ~Observer() {}
Observer();
virtual ~Observer();
/** Get the optional global observer mutex, this can be shared between all osg::Observer.*/
static OpenThreads::Mutex* getGlobalObserverMutex();

View File

@@ -16,6 +16,14 @@
using namespace osg;
Observer::Observer()
{
}
Observer::~Observer()
{
}
ObserverSet::ObserverSet()
{
//OSG_NOTICE<<"ObserverSet::ObserverSet() "<<this<<std::endl;