From 937423bb9f49b681bf2069e05698c883b0f65611 Mon Sep 17 00:00:00 2001 From: Andreas Fabri Date: Wed, 9 Oct 2019 11:59:12 +0200 Subject: [PATCH] Surface_mesh: Fix Property_container::swap() --- Surface_mesh/include/CGAL/Surface_mesh/Properties.h | 1 + 1 file changed, 1 insertion(+) diff --git a/Surface_mesh/include/CGAL/Surface_mesh/Properties.h b/Surface_mesh/include/CGAL/Surface_mesh/Properties.h index c975f23d1d6..1300f31253c 100644 --- a/Surface_mesh/include/CGAL/Surface_mesh/Properties.h +++ b/Surface_mesh/include/CGAL/Surface_mesh/Properties.h @@ -486,6 +486,7 @@ public: void swap (Property_container& other) { this->parrays_.swap (other.parrays_); + std::swap(this->size_, other.size_); } private: