summaryrefslogtreecommitdiffstats
path: root/core/templates
diff options
context:
space:
mode:
authorCamille Mohr-Daurat <pouleyKetchoup@gmail.com>2021-08-30 07:25:51 -0700
committerGitHub <noreply@github.com>2021-08-30 07:25:51 -0700
commitb60a51f0232246be0c8a0544253336e34d346724 (patch)
treeabcf29f8c557b9561fa74fb3ad5cc4d811472f8a /core/templates
parent503244d452a8603e05b72e7e018fdc2f9a8bedf2 (diff)
parent2d2d24a538bf958acd44c30e9291fa54c8d77164 (diff)
downloadredot-engine-b60a51f0232246be0c8a0544253336e34d346724.tar.gz
Merge pull request #51985 from AndreaCatania/coll
Improve collision generation usability in the new 3D scene import workflow.
Diffstat (limited to 'core/templates')
-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 08cbef6ba4..033345d04c 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(T *p_ptr) { elem_ptr = p_ptr; }
+ ConstIterator(const T *p_ptr) { elem_ptr = p_ptr; }
ConstIterator() {}
ConstIterator(const ConstIterator &p_it) { elem_ptr = p_it.elem_ptr; }