mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-06-21 01:04:06 +00:00
Remove ignore_result
`std::ignore` serves the same purpose and is C++ standard.
This commit is contained in:
@@ -237,7 +237,7 @@ private:
|
||||
return false;
|
||||
|
||||
JS::RootedValueVector argv(rq.cx);
|
||||
ignore_result(argv.resize(sizeof...(Args)));
|
||||
std::ignore = argv.resize(sizeof...(Args));
|
||||
ToJSValVector(std::index_sequence_for<Args...>{}, rq, &argv, args...);
|
||||
|
||||
bool success;
|
||||
|
||||
Reference in New Issue
Block a user