diff --git a/src/test-iter.cc b/src/test-iter.cc index 6427ca0a1..045c2a1aa 100644 --- a/src/test-iter.cc +++ b/src/test-iter.cc @@ -48,9 +48,10 @@ main (int argc, char **argv) { const int src[10] = {}; int dst[20]; + hb_vector_t v; - array_iter_t s (src); - array_iter_t s2 (src); + array_iter_t s (src); /* Implicit conversion from static array. */ + array_iter_t s2 (v); /* Implicit conversion from vector. */ array_iter_t t (dst); s2 = s;