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
path: root/source
diff options
context:
space:
mode:
authorMattias Fredriksson <Osares>2022-04-07 00:53:58 +0300
committerFabian Schempp <fabianschempp@googlemail.com>2022-04-11 01:31:59 +0300
commit10b89505b183e12edb3d8dd1e76b0f0b319ff094 (patch)
tree1e5556fd7400705e8e54c04c0a99a865bf0508b6 /source
parenta9fd03d8716afdda655e30bd7cd1591c89607b3d (diff)
Cleanup: Incorrect comment in IndexRange header
Diffstat (limited to 'source')
-rw-r--r--source/blender/blenlib/BLI_index_range.hh8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/blenlib/BLI_index_range.hh b/source/blender/blenlib/BLI_index_range.hh
index 832e438fa75..85f2c83364b 100644
--- a/source/blender/blenlib/BLI_index_range.hh
+++ b/source/blender/blenlib/BLI_index_range.hh
@@ -235,8 +235,8 @@ class IndexRange {
}
/**
- * Returns a new IndexRange with n elements removed from the beginning. This invokes undefined
- * behavior when n is negative.
+ * Returns a new IndexRange with n elements removed from the beginning of the range.
+ * This invokes undefined behavior when n is negative.
*/
constexpr IndexRange drop_front(int64_t n) const
{
@@ -246,8 +246,8 @@ class IndexRange {
}
/**
- * Returns a new IndexRange with n elements removed from the beginning. This invokes undefined
- * behavior when n is negative.
+ * Returns a new IndexRange with n elements removed from the end of the range.
+ * This invokes undefined behavior when n is negative.
*/
constexpr IndexRange drop_back(int64_t n) const
{