App/Gui: make operator-> operator of WeakPtrT constant

This commit is contained in:
wmayer
2022-03-19 15:35:58 +01:00
parent 00ea879bfd
commit a60754ea93
2 changed files with 4 additions and 4 deletions

View File

@@ -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>();
}
/*!

View File

@@ -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>();
}
/*!