diff --git a/voxel_mesher_smooth.cpp b/voxel_mesher_smooth.cpp index 2623f70..3dd4202 100644 --- a/voxel_mesher_smooth.cpp +++ b/voxel_mesher_smooth.cpp @@ -51,7 +51,7 @@ void copy_to(PoolVector &to, Vector &from) { to.resize(from.size()); - PoolVector::Write w = to.write(); + typename PoolVector::Write w = to.write(); for (unsigned int i = 0; i < from.size(); ++i) { w[i] = from[i];