[Bf-blender-cvs] [f4d80ecdfd3] master: Cleanup: Typo in comment

Hans Goudey noreply at git.blender.org
Thu Feb 24 18:01:33 CET 2022


Commit: f4d80ecdfd3137693f7c00c4d3db6f9f8743a6bd
Author: Hans Goudey
Date:   Thu Feb 24 12:01:22 2022 -0500
Branches: master
https://developer.blender.org/rBf4d80ecdfd3137693f7c00c4d3db6f9f8743a6bd

Cleanup: Typo in comment

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

M	source/blender/blenlib/BLI_virtual_array.hh
M	source/blender/functions/FN_generic_virtual_array.hh

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

diff --git a/source/blender/blenlib/BLI_virtual_array.hh b/source/blender/blenlib/BLI_virtual_array.hh
index d697590b946..16fd706c99d 100644
--- a/source/blender/blenlib/BLI_virtual_array.hh
+++ b/source/blender/blenlib/BLI_virtual_array.hh
@@ -667,7 +667,7 @@ template<typename T> class VArrayCommon {
   }
 
   /**
-   * Returns the internally used span of the virtual array. This invokes undefined behavior is the
+   * Returns the internally used span of the virtual array. This invokes undefined behavior if the
    * virtual array is not stored as a span internally.
    */
   Span<T> get_internal_span() const
diff --git a/source/blender/functions/FN_generic_virtual_array.hh b/source/blender/functions/FN_generic_virtual_array.hh
index 2655cd26bfe..ced0c2b9546 100644
--- a/source/blender/functions/FN_generic_virtual_array.hh
+++ b/source/blender/functions/FN_generic_virtual_array.hh
@@ -139,7 +139,7 @@ class GVArrayCommon {
    */
   bool is_span() const;
   /**
-   * Returns the internally used span of the virtual array. This invokes undefined behavior is the
+   * Returns the internally used span of the virtual array. This invokes undefined behavior if the
    * virtual array is not stored as a span internally.
    */
   GSpan get_internal_span() const;



More information about the Bf-blender-cvs mailing list