summaryrefslogtreecommitdiff
path: root/core/templates/vector.h
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2021-08-30 11:30:36 -0300
committerGitHub <noreply@github.com>2021-08-30 11:30:36 -0300
commit6dab6e4136540152558eff0085de1acdea143fd9 (patch)
tree8f99a2b6042fadf8afde25f0e41c9a69d9651270 /core/templates/vector.h
parentb60a51f0232246be0c8a0544253336e34d346724 (diff)
Revert " Improve collision generation usability in the new 3D scene import workflow."
Diffstat (limited to 'core/templates/vector.h')
-rw-r--r--core/templates/vector.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/templates/vector.h b/core/templates/vector.h
index 033345d04c..08cbef6ba4 100644
--- a/core/templates/vector.h
+++ b/core/templates/vector.h
@@ -229,7 +229,7 @@ public:
_FORCE_INLINE_ bool operator==(const ConstIterator &b) const { return elem_ptr == b.elem_ptr; }
_FORCE_INLINE_ bool operator!=(const ConstIterator &b) const { return elem_ptr != b.elem_ptr; }
- ConstIterator(const T *p_ptr) { elem_ptr = p_ptr; }
+ ConstIterator(T *p_ptr) { elem_ptr = p_ptr; }
ConstIterator() {}
ConstIterator(const ConstIterator &p_it) { elem_ptr = p_it.elem_ptr; }