Replace boost::optional with std::optional (#4877)
This commit is contained in:
@@ -289,7 +289,7 @@ QString slowOff(const CommandContext &ctx)
|
||||
}
|
||||
|
||||
getHelix()->updateSlowMode(ctx.twitchChannel->roomId(),
|
||||
currentUser->getUserId(), boost::none,
|
||||
currentUser->getUserId(), std::nullopt,
|
||||
successCallback, failureCallback(ctx.channel));
|
||||
|
||||
return "";
|
||||
@@ -367,7 +367,7 @@ QString followersOff(const CommandContext &ctx)
|
||||
}
|
||||
|
||||
getHelix()->updateFollowerMode(
|
||||
ctx.twitchChannel->roomId(), currentUser->getUserId(), boost::none,
|
||||
ctx.twitchChannel->roomId(), currentUser->getUserId(), std::nullopt,
|
||||
successCallback, failureCallback(ctx.channel));
|
||||
|
||||
return "";
|
||||
|
||||
Reference in New Issue
Block a user