Replace boost::optional with std::optional (#4877)
This commit is contained in:
@@ -52,7 +52,7 @@ ChannelPtr SearchPopup::filter(const QString &text, const QString &channelName,
|
||||
// If all predicates match, add the message to the channel
|
||||
if (accept)
|
||||
{
|
||||
auto overrideFlags = boost::optional<MessageFlags>(message->flags);
|
||||
auto overrideFlags = std::optional<MessageFlags>(message->flags);
|
||||
overrideFlags->set(MessageFlag::DoNotLog);
|
||||
|
||||
channel->addMessage(message, overrideFlags);
|
||||
|
||||
Reference in New Issue
Block a user