You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Replace error checks against size with is_empty
This commit is contained in:
@@ -2857,7 +2857,7 @@ bool OpenXRAPI::sync_action_sets(const Vector<RID> p_active_sets) {
|
||||
}
|
||||
}
|
||||
|
||||
ERR_FAIL_COND_V(active_sets.size() == 0, false);
|
||||
ERR_FAIL_COND_V(active_sets.is_empty(), false);
|
||||
|
||||
XrActionsSyncInfo sync_info = {
|
||||
XR_TYPE_ACTIONS_SYNC_INFO, // type
|
||||
|
||||
Reference in New Issue
Block a user