diff options
author | Jacques Lucke <jacques@blender.org> | 2021-11-26 19:32:09 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2021-11-26 19:32:09 +0300 |
commit | 0789f61373de962dce1874b8577a4e54c21e587a (patch) | |
tree | 90bac7357686ef9a17b3a0b51be0abbc7e380f54 /source/blender/blenlib | |
parent | 602ecbdf9aef58a4e3c8d7ea5db22a913bf60525 (diff) |
Cleanup: remove warnings
This assert was producing warning in debug builds because
it was never hit under some circumstances.
Diffstat (limited to 'source/blender/blenlib')
-rw-r--r-- | source/blender/blenlib/BLI_virtual_array.hh | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/source/blender/blenlib/BLI_virtual_array.hh b/source/blender/blenlib/BLI_virtual_array.hh index 85e9cb25b3f..96128fc5c32 100644 --- a/source/blender/blenlib/BLI_virtual_array.hh +++ b/source/blender/blenlib/BLI_virtual_array.hh @@ -423,7 +423,6 @@ class VArrayImpl_For_DerivedSpan final : public VMutableArrayImpl<ElemT> { void set(const int64_t index, ElemT value) override { - BLI_assert(SetFunc != nullptr); SetFunc(data_[index], std::move(value)); } |