From 6650dbf397705630b3114fc61ac59cd2f4a686cb Mon Sep 17 00:00:00 2001 From: Holden Green Date: Wed, 4 Jul 2018 22:10:45 -0700 Subject: [PATCH] Used swap in favor of move --- tiny_obj_loader.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;