[Bf-blender-cvs] [4b8e52bdbc9] temp-virtual-array-value-type: add timeit include

Jacques Lucke noreply at git.blender.org
Sun Oct 31 14:28:45 CET 2021


Commit: 4b8e52bdbc9e646392e33da044f577a1b00969a5
Author: Jacques Lucke
Date:   Sun Oct 31 13:50:05 2021 +0100
Branches: temp-virtual-array-value-type
https://developer.blender.org/rB4b8e52bdbc9e646392e33da044f577a1b00969a5

add timeit include

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

M	source/blender/functions/FN_generic_virtual_array.hh

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

diff --git a/source/blender/functions/FN_generic_virtual_array.hh b/source/blender/functions/FN_generic_virtual_array.hh
index 9b4a5fec311..2205607ef8c 100644
--- a/source/blender/functions/FN_generic_virtual_array.hh
+++ b/source/blender/functions/FN_generic_virtual_array.hh
@@ -23,6 +23,7 @@
  * the data type is only known at runtime.
  */
 
+#include "BLI_timeit.hh"
 #include "BLI_virtual_array.hh"
 
 #include "FN_generic_array.hh"
@@ -107,8 +108,8 @@ class GVMutableArray;
 class GVArrayCommon {
  protected:
   /**
-   * See #VArrayCommon for more information. The inline buffer is a bit larger here, because the
-   * virtual array implementation contains an additional pointer to #CPPType.
+   * See #VArrayCommon for more information. The inline buffer is a bit larger here, because
+   * generic virtual array implementations often require a bit more space than typed ones.
    */
   using Storage = Any<detail::GVArrayAnyExtraInfo, 32, 8>;



More information about the Bf-blender-cvs mailing list