Changed CameraNode::getDataChangeMutex() to be a pointer rather than a reference to

get around osgIntrospeciton build problem with the OpenThreads::Mutex copy constructor being private.
This commit is contained in:
Robert Osfield
2005-11-23 16:32:55 +00:00
parent 3a62b5193c
commit e1dd759dd8
4 changed files with 5 additions and 5 deletions

View File

@@ -305,7 +305,7 @@ class OSG_EXPORT CameraNode : public Transform, public CullSettings
/** Get the const post draw callback.*/
const DrawCallback* getPostDrawCallback() const { return _postDrawCallback.get(); }
OpenThreads::Mutex& getDataChangeMutex() const { return _dataChangeMutex; }
OpenThreads::Mutex* getDataChangeMutex() const { return &_dataChangeMutex; }
public: