You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Merge pull request #89782 from KoBeWi/stdArrayList
Use initializer list in Arrays
This commit is contained in:
@@ -299,8 +299,7 @@ String OpenXRAPI::get_error_string(XrResult result) const {
|
||||
}
|
||||
|
||||
if (instance == XR_NULL_HANDLE) {
|
||||
Array args;
|
||||
args.push_back(Variant(result));
|
||||
Array args = { Variant(result) };
|
||||
return String("Error code {0}").format(args);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user