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
diff options
context:
space:
mode:
authorJacques Lucke <jacques@blender.org>2020-06-09 17:21:12 +0300
committerJacques Lucke <jacques@blender.org>2020-06-09 17:23:27 +0300
commit9d75f235669b7be4934cbc4ad6bfb8b422d956bf (patch)
treee3a5f16b74e6ecaa2adc509ddb13a17d76eb0b41 /source/blender/blenlib/BLI_span.hh
parent37d68871b7c5e6dea36ce4e08013eb645ef550c9 (diff)
BLI: remove incorrect const
Diffstat (limited to 'source/blender/blenlib/BLI_span.hh')
-rw-r--r--source/blender/blenlib/BLI_span.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenlib/BLI_span.hh b/source/blender/blenlib/BLI_span.hh
index 23f0f161e01..ce4e90d5e16 100644
--- a/source/blender/blenlib/BLI_span.hh
+++ b/source/blender/blenlib/BLI_span.hh
@@ -589,7 +589,7 @@ template<typename T> class MutableSpan {
* Returns a reference to the last element. This invokes undefined behavior when the array is
* empty.
*/
- const T &last() const
+ T &last() const
{
BLI_assert(m_size > 0);
return m_start[m_size - 1];