Commit: 9d75f235669b7be4934cbc4ad6bfb8b422d956bf
Author: Jacques Lucke
Date:   Tue Jun 9 16:21:12 2020 +0200
Branches: master
https://developer.blender.org/rB9d75f235669b7be4934cbc4ad6bfb8b422d956bf

BLI: remove incorrect const

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

M       source/blender/blenlib/BLI_span.hh

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

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];

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to