Fix compilation with Clang-21 + libstdc++-16
.emplace() can only be used on constructible objects, while private nested struct is not considered as constructible due to access control. Closes #29939 Signed-off-by: Sv. Lockal <lockalsash@gmail.com>
This commit is contained in:
@@ -1403,7 +1403,7 @@ void WebViewInstance::showGame() {
|
||||
Expects(v::is<WebViewSourceGame>(_source));
|
||||
|
||||
if (!_bot->isFullLoaded()) {
|
||||
_botFullWaitingArgs.emplace();
|
||||
_botFullWaitingArgs = ShowArgs{};
|
||||
return;
|
||||
}
|
||||
const auto game = v::get<WebViewSourceGame>(_source);
|
||||
|
||||
Reference in New Issue
Block a user