From 8695c7e132d7cfc73816f8c342c7ba624e3c9d2b Mon Sep 17 00:00:00 2001 From: Max Lyon Date: Tue, 16 Mar 2021 12:22:35 +0100 Subject: [PATCH] fix string for requesting int property --- src/Unittests/unittests_read_write_OM.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Unittests/unittests_read_write_OM.cc b/src/Unittests/unittests_read_write_OM.cc index ea0db27e..6ba3b741 100644 --- a/src/Unittests/unittests_read_write_OM.cc +++ b/src/Unittests/unittests_read_write_OM.cc @@ -1829,7 +1829,7 @@ TEST_F(OpenMeshReadWriteOM, PropertyFromString) { { std::string int_prop_name = "my int prop"; - OpenMesh::create_property_from_string(mesh_, "int", int_prop_name); + OpenMesh::create_property_from_string(mesh_, "int32_t", int_prop_name); bool has_int_prop = OpenMesh::hasProperty(mesh_, int_prop_name.c_str()); EXPECT_TRUE(has_int_prop); }