LayoutCreator<T>::operator * now returns a reference

This commit is contained in:
fourtf
2018-06-22 12:34:33 +02:00
parent a5b48d713a
commit 440a3c41fe
9 changed files with 59 additions and 55 deletions
+2 -2
View File
@@ -25,9 +25,9 @@ public:
return this->item;
}
T *operator*()
T &operator*()
{
return this->item;
return *this->item;
}
T *getElement()