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 <mail@jlucke.com>2019-09-14 14:30:24 +0300
committerJacques Lucke <mail@jlucke.com>2019-09-14 14:30:24 +0300
commit5b00ecf70bf6876d1279e8e8f73a5d722f77cb51 (patch)
tree52d6c12a30a1e51cbeee3ceb62fc637be544fa48 /source/blender/blenlib
parentdd8a70c246e3540b4317e408d061285f9b9f8432 (diff)
BLI: remove non const accessors in VectorSet
With this the values could have been changed without updating the hash table.
Diffstat (limited to 'source/blender/blenlib')
-rw-r--r--source/blender/blenlib/BLI_vector_set.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/source/blender/blenlib/BLI_vector_set.h b/source/blender/blenlib/BLI_vector_set.h
index 820c7c63c6a..c61643fa3d8 100644
--- a/source/blender/blenlib/BLI_vector_set.h
+++ b/source/blender/blenlib/BLI_vector_set.h
@@ -274,16 +274,6 @@ template<typename T, typename Allocator = GuardedAllocator> class VectorSet {
return m_array.slots_set();
}
- T *begin()
- {
- return m_elements.begin();
- }
-
- T *end()
- {
- return m_elements.end();
- }
-
const T *begin() const
{
return m_elements.begin();