[Bf-blender-cvs] [ff21d33bfe3] functions: Don't allow getting mutable reference to vector set
Jacques Lucke
noreply at git.blender.org
Mon Feb 10 13:32:36 CET 2020
Commit: ff21d33bfe364258006a42fabd9188a23bdd4d9a
Author: Jacques Lucke
Date: Mon Feb 10 13:32:02 2020 +0100
Branches: functions
https://developer.blender.org/rBff21d33bfe364258006a42fabd9188a23bdd4d9a
Don't allow getting mutable reference to vector set
===================================================================
M source/blender/blenlib/BLI_vector_set.h
===================================================================
diff --git a/source/blender/blenlib/BLI_vector_set.h b/source/blender/blenlib/BLI_vector_set.h
index 4ab746d9c2a..99d955c60d8 100644
--- a/source/blender/blenlib/BLI_vector_set.h
+++ b/source/blender/blenlib/BLI_vector_set.h
@@ -302,11 +302,6 @@ template<typename T, typename Allocator = GuardedAllocator> class VectorSet {
return m_elements;
}
- operator MutableArrayRef<T>()
- {
- return m_elements;
- }
-
void print_stats() const
{
std::cout << "VectorSet at " << (void *)this << ":\n";
More information about the Bf-blender-cvs
mailing list