From f4d80ecdfd3137693f7c00c4d3db6f9f8743a6bd Mon Sep 17 00:00:00 2001 From: Hans Goudey Date: Thu, 24 Feb 2022 12:01:22 -0500 Subject: Cleanup: Typo in comment --- source/blender/blenlib/BLI_virtual_array.hh | 2 +- source/blender/functions/FN_generic_virtual_array.hh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'source') 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 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 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; -- cgit v1.2.3