diff --git a/tiny_obj_loader.h b/tiny_obj_loader.h index 06bb03a..cc894d6 100644 --- a/tiny_obj_loader.h +++ b/tiny_obj_loader.h @@ -1270,7 +1270,7 @@ static bool exportGroupsToShape(shape_t *shape, if(!lineGroup.empty()){ - shape->path.indices = std::move(lineGroup); + shape->path.indices.swap(lineGroup); } return true;