diff options
author | Jacques Lucke <mail@jlucke.com> | 2019-09-14 14:30:24 +0300 |
---|---|---|
committer | Jacques Lucke <mail@jlucke.com> | 2019-09-14 14:30:24 +0300 |
commit | 5b00ecf70bf6876d1279e8e8f73a5d722f77cb51 (patch) | |
tree | 52d6c12a30a1e51cbeee3ceb62fc637be544fa48 /source/blender/blenlib/BLI_vector_set.h | |
parent | dd8a70c246e3540b4317e408d061285f9b9f8432 (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/BLI_vector_set.h')
-rw-r--r-- | source/blender/blenlib/BLI_vector_set.h | 10 |
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(); |