diff --git a/src/Unittests/unittests_read_write_OM.cc b/src/Unittests/unittests_read_write_OM.cc index dccc0013..fdd37f90 100644 --- a/src/Unittests/unittests_read_write_OM.cc +++ b/src/Unittests/unittests_read_write_OM.cc @@ -1541,12 +1541,12 @@ T get_value(int seed, T, int seed2 = 0) } template -std::vector get_value(int seed, const std::vector&) +std::vector get_value(int seed, const std::vector&, int _offset = 0) { int size = get_value(seed, 3); std::vector res(size); for (int i = 0; i < size; ++i) - res[i] = get_value(seed, T(), i); + res[i] = get_value(seed, T(), i + _offset); return res; } @@ -1653,6 +1653,8 @@ void do_all_property_types(MeshT& _mesh, PropertyAction action, int version) do_property> (_mesh, action); do_property> (_mesh, action); do_property> (_mesh, action); + + do_property>> (_mesh, action); //do_property> (_mesh, action); } @@ -1875,4 +1877,5 @@ TEST_F(OpenMeshReadWriteOM, WriteAndLoadBoolCheckSpaces) { } OM_REGISTER_PROPERTY_TYPE(std::vector) +OM_REGISTER_PROPERTY_TYPE(std::vector>) OM_REGISTER_PROPERTY_TYPE(RegisteredDataType)