Replace size() == 0 with is_empty().
This commit is contained in:
@ -1998,7 +1998,7 @@ void AnimationMixer::_blend_apply() {
|
||||
for (uint32_t erase_idx = 0; erase_idx < erase_streams.size(); erase_idx++) {
|
||||
map.erase(erase_streams[erase_idx]);
|
||||
}
|
||||
if (map.size() == 0) {
|
||||
if (map.is_empty()) {
|
||||
erase_maps.push_back(L.key);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user