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:
@@ -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();
|
||||
|
||||
@@ -16,6 +16,14 @@
|
||||
|
||||
using namespace osg;
|
||||
|
||||
Observer::Observer()
|
||||
{
|
||||
}
|
||||
|
||||
Observer::~Observer()
|
||||
{
|
||||
}
|
||||
|
||||
ObserverSet::ObserverSet()
|
||||
{
|
||||
//OSG_NOTICE<<"ObserverSet::ObserverSet() "<<this<<std::endl;
|
||||
|
||||
Reference in New Issue
Block a user