LayoutCreator<T>::operator * now returns a reference
This commit is contained in:
@@ -25,9 +25,9 @@ public:
|
||||
return this->item;
|
||||
}
|
||||
|
||||
T *operator*()
|
||||
T &operator*()
|
||||
{
|
||||
return this->item;
|
||||
return *this->item;
|
||||
}
|
||||
|
||||
T *getElement()
|
||||
|
||||
Reference in New Issue
Block a user