[Bf-blender-cvs] [65c326cbe9e] curve-nodes-modifier: Cleanup: Remove unecessary change

Hans Goudey noreply at git.blender.org
Tue Jul 13 01:40:43 CEST 2021


Commit: 65c326cbe9ed56b283464705fbe9523b5b9ff1ed
Author: Hans Goudey
Date:   Mon Jun 28 15:23:42 2021 -0500
Branches: curve-nodes-modifier
https://developer.blender.org/rB65c326cbe9ed56b283464705fbe9523b5b9ff1ed

Cleanup: Remove unecessary change

===================================================================

M	source/blender/blenlib/BLI_vector.hh

===================================================================

diff --git a/source/blender/blenlib/BLI_vector.hh b/source/blender/blenlib/BLI_vector.hh
index 98e4650f0be..da02c4f4ae1 100644
--- a/source/blender/blenlib/BLI_vector.hh
+++ b/source/blender/blenlib/BLI_vector.hh
@@ -221,21 +221,6 @@ class Vector {
     }
   }
 
-  /**
-   * Create a vector from a const ListBase. The caller has to make sure that the values in the
-   * linked list have the correct type.
-   *
-   * Example Usage:
-   *  Vector<const ModifierData *> modifiers(ob->modifiers);
-   */
-  Vector(const ListBase &values, Allocator allocator = {})
-      : Vector(NoExceptConstructor(), allocator)
-  {
-    LISTBASE_FOREACH (T, value, &values) {
-      this->append(value);
-    }
-  }
-
   /**
    * Create a copy of another vector. The other vector will not be changed. If the other vector has
    * less than InlineBufferCapacity elements, no allocation will be made.



More information about the Bf-blender-cvs mailing list