[Bf-blender-cvs] [e8ea904ceed] functions: fix compile error

Jacques Lucke noreply at git.blender.org
Mon Jan 27 23:37:05 CET 2020


Commit: e8ea904ceeda4ce68eecfba6b2fd3364d4bd5de5
Author: Jacques Lucke
Date:   Mon Jan 27 23:03:54 2020 +0100
Branches: functions
https://developer.blender.org/rBe8ea904ceeda4ce68eecfba6b2fd3364d4bd5de5

fix compile error

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

M	source/blender/blenlib/BLI_array_cxx.h

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

diff --git a/source/blender/blenlib/BLI_array_cxx.h b/source/blender/blenlib/BLI_array_cxx.h
index e5ee9412a19..bb6a7e61a20 100644
--- a/source/blender/blenlib/BLI_array_cxx.h
+++ b/source/blender/blenlib/BLI_array_cxx.h
@@ -143,7 +143,7 @@ template<typename T, uint N = 4, typename Allocator = GuardedAllocator> class Ar
     return *this;
   }
 
-  MutableArrayRef<T> as_mutable_ref() const
+  MutableArrayRef<T> as_mutable_ref()
   {
     return *this;
   }



More information about the Bf-blender-cvs mailing list