We don't need to use std::move for return value.
Change-Id: Ia2c1d156af039b38f5f6882f2f69537031eddb6b
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
reinterpret_cast<uint8_t*>(meshFaces.data()),
reinterpret_cast<uint8_t*>(meshFaces.data()) + (meshFaces.size() * sizeof(NavigationMesh::Face)));
- auto retval = std::move(NavigationMeshFactory::CreateFromBuffer(navigationMeshBinary));
- return retval;
+ return NavigationMeshFactory::CreateFromBuffer(navigationMeshBinary);
}
std::unique_ptr<Algorithm::NavigationMesh> NavigationMeshFactory::CreateFromVertexFaceList(const std::vector<Vector3>& vertices, const std::vector<Vector3>& normals, const std::vector<uint32_t>& faceIndices)