Simplify swap()
diff --git a/src/hb-bit-set.hh b/src/hb-bit-set.hh
index fd79369..a471ee4 100644
--- a/src/hb-bit-set.hh
+++ b/src/hb-bit-set.hh
@@ -46,7 +46,6 @@
{
if (likely (!a.successful || !b.successful))
return;
- hb_swap (a.successful, b.successful);
hb_swap (a.population, b.population);
hb_swap (a.last_page_lookup, b.last_page_lookup);
hb_swap (a.page_map, b.page_map);
diff --git a/src/hb-map.hh b/src/hb-map.hh
index e4b7910..196b8e7 100644
--- a/src/hb-map.hh
+++ b/src/hb-map.hh
@@ -90,7 +90,6 @@
{
if (unlikely (!a.successful || !b.successful))
return;
- hb_swap (a.successful, b.successful);
hb_swap (a.population, b.population);
hb_swap (a.occupancy, b.occupancy);
hb_swap (a.mask, b.mask);