App/Gui: make operator-> operator of WeakPtrT constant
This commit is contained in:
@@ -377,9 +377,9 @@ public:
|
||||
}
|
||||
/*!
|
||||
* \brief operator ->
|
||||
* \return pointer to the document
|
||||
* \return pointer to the document object
|
||||
*/
|
||||
T* operator->() {
|
||||
T* operator->() const {
|
||||
return ptr.get<T>();
|
||||
}
|
||||
/*!
|
||||
|
||||
@@ -255,9 +255,9 @@ public:
|
||||
}
|
||||
/*!
|
||||
* \brief operator ->
|
||||
* \return pointer to the document
|
||||
* \return pointer to the view provider
|
||||
*/
|
||||
T* operator->() {
|
||||
T* operator->() const {
|
||||
return ptr.get<T>();
|
||||
}
|
||||
/*!
|
||||
|
||||
Reference in New Issue
Block a user