diff --git a/src/Unittests/unittests_read_write_OFF.cc b/src/Unittests/unittests_read_write_OFF.cc index 69ecfced..0a9684ed 100644 --- a/src/Unittests/unittests_read_write_OFF.cc +++ b/src/Unittests/unittests_read_write_OFF.cc @@ -1,5 +1,6 @@ #include #include +#include namespace { @@ -80,6 +81,7 @@ TEST_F(OpenMeshReadWriteOFF, WriteAndReadVertexColorsToAndFromOFFFile) { OpenMesh::IO::Options opt(OpenMesh::IO::Options::VertexColor); OpenMesh::IO::write_mesh(mesh_, "temp.off", opt); OpenMesh::IO::read_mesh(mesh_, "temp.off", opt); + remove("temp.off"); // check if vertices still have the same color count = 0;