diff options
author | Mattias Fredriksson <Osares> | 2022-04-07 00:53:58 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2022-04-07 00:53:58 +0300 |
commit | c9f485195b5c65957ea3f992e973459f4a318f8b (patch) | |
tree | 7df5ed04f5b42543cf8980d83a891abc7ef7c052 /source/blender/blenlib | |
parent | 8551e890687de7185388eed9e77171b0df7943a3 (diff) |
Cleanup: Incorrect comment in IndexRange header
Diffstat (limited to 'source/blender/blenlib')
-rw-r--r-- | source/blender/blenlib/BLI_index_range.hh | 8 |
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 { |