mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Make conversions from LocalVector to Vector explicit.
This commit is contained in:
parent
6efa557e9b
commit
abe3b481ae
19 changed files with 52 additions and 52 deletions
|
|
@ -316,7 +316,7 @@ public:
|
|||
insert(i, p_val);
|
||||
}
|
||||
|
||||
operator Vector<T>() const {
|
||||
explicit operator Vector<T>() const {
|
||||
Vector<T> ret;
|
||||
ret.resize(count);
|
||||
T *w = ret.ptrw();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue