Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/blenlib')
-rw-r--r--source/blender/blenlib/BLI_virtual_array.hh6
1 files changed, 0 insertions, 6 deletions
diff --git a/source/blender/blenlib/BLI_virtual_array.hh b/source/blender/blenlib/BLI_virtual_array.hh
index b8b05e88572..33b3f82c0c2 100644
--- a/source/blender/blenlib/BLI_virtual_array.hh
+++ b/source/blender/blenlib/BLI_virtual_array.hh
@@ -719,9 +719,6 @@ template<typename T> class VArrayCommon {
bool is_span() const
{
BLI_assert(*this);
- if (this->is_empty()) {
- return true;
- }
return impl_->is_span();
}
@@ -742,9 +739,6 @@ template<typename T> class VArrayCommon {
bool is_single() const
{
BLI_assert(*this);
- if (impl_->size() == 1) {
- return true;
- }
return impl_->is_single();
}