Fix compilation

This commit is contained in:
Marc Gilleron 2017-08-15 21:37:23 +02:00
parent 7be5d78e4b
commit 239eb11451

View File

@ -51,7 +51,7 @@ void copy_to(PoolVector<T> &to, Vector<T> &from) {
to.resize(from.size());
PoolVector<T>::Write w = to.write();
typename PoolVector<T>::Write w = to.write();
for (unsigned int i = 0; i < from.size(); ++i) {
w[i] = from[i];