Make conversions from LocalVector to Vector explicit.

This commit is contained in:
Lukas Tenbrink 2025-06-13 00:38:06 +02:00
parent 6efa557e9b
commit abe3b481ae
19 changed files with 52 additions and 52 deletions

View file

@ -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();