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
|
class OSG_EXPORT Observer
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
virtual ~Observer() {}
|
Observer();
|
||||||
|
virtual ~Observer();
|
||||||
|
|
||||||
/** Get the optional global observer mutex, this can be shared between all osg::Observer.*/
|
/** Get the optional global observer mutex, this can be shared between all osg::Observer.*/
|
||||||
static OpenThreads::Mutex* getGlobalObserverMutex();
|
static OpenThreads::Mutex* getGlobalObserverMutex();
|
||||||
|
|||||||
@@ -16,6 +16,14 @@
|
|||||||
|
|
||||||
using namespace osg;
|
using namespace osg;
|
||||||
|
|
||||||
|
Observer::Observer()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
Observer::~Observer()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
ObserverSet::ObserverSet()
|
ObserverSet::ObserverSet()
|
||||||
{
|
{
|
||||||
//OSG_NOTICE<<"ObserverSet::ObserverSet() "<<this<<std::endl;
|
//OSG_NOTICE<<"ObserverSet::ObserverSet() "<<this<<std::endl;
|
||||||
|
|||||||
Reference in New Issue
Block a user