diff --git a/src/OpenMesh/Core/IO/SR_binary_spec.hh b/src/OpenMesh/Core/IO/SR_binary_spec.hh index 1e5a509b..22a522d7 100644 --- a/src/OpenMesh/Core/IO/SR_binary_spec.hh +++ b/src/OpenMesh/Core/IO/SR_binary_spec.hh @@ -345,14 +345,9 @@ struct binary< std::vector< T > > { { size_t size = 0; for(auto v : _v) - { size += binary::size_of(v); - } if(_store_size) - { - unsigned int N = _v.size(); size += binary::size_of(); - } return size; }