Replace boost::optional with std::optional (#4877)
This commit is contained in:
@@ -788,7 +788,7 @@ void TwitchModerationElement::addToContainer(MessageLayoutContainer &container,
|
||||
if (auto image = action.getImage())
|
||||
{
|
||||
container.addElement(
|
||||
(new ImageLayoutElement(*this, image.get(), size))
|
||||
(new ImageLayoutElement(*this, *image, size))
|
||||
->setLink(Link(Link::UserAction, action.getAction())));
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user