diff options
author | Jacques Lucke <jacques@blender.org> | 2021-04-30 14:11:01 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2021-04-30 14:11:49 +0300 |
commit | 31828449145c23f72a67cd7d15c9c81c22b160cd (patch) | |
tree | 352071ad04448ace88571765d9bd0306d4561f16 | |
parent | a79b09e7622bbbfbfe5a1f1998dc5c2976a7d57b (diff) |
Fix: missing return
-rw-r--r-- | source/blender/functions/FN_generic_virtual_array.hh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/functions/FN_generic_virtual_array.hh b/source/blender/functions/FN_generic_virtual_array.hh index fba69f30330..2e91479dd30 100644 --- a/source/blender/functions/FN_generic_virtual_array.hh +++ b/source/blender/functions/FN_generic_virtual_array.hh @@ -123,6 +123,7 @@ class GVArray { BLI_assert(this->is_single()); if (size_ == 1) { this->get(0, r_value); + return; } this->get_internal_single_impl(r_value); } |