summaryrefslogtreecommitdiff
path: root/src/hb-set.cc
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2017-12-14 13:37:48 -0800
committerBehdad Esfahbod <behdad@behdad.org>2017-12-14 19:07:17 -0800
commit9daa88cd790b80a8bc7eaae2e7eec6f2f9fc60cf (patch)
treeb395a04b841ca4b664d5d2c499f30f76e38e2c82 /src/hb-set.cc
parentf424a342233ae32bbfabbdeadf59c82420b0880b (diff)
Minor
Diffstat (limited to 'src/hb-set.cc')
-rw-r--r--src/hb-set.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/hb-set.cc b/src/hb-set.cc
index e2c78822..0b4f871e 100644
--- a/src/hb-set.cc
+++ b/src/hb-set.cc
@@ -45,8 +45,7 @@ hb_set_create (void)
if (!(set = hb_object_create<hb_set_t> ()))
return hb_set_get_empty ();
- set->page_map.init ();
- set->pages.init ();
+ set->init ();
return set;
}
@@ -96,8 +95,7 @@ hb_set_destroy (hb_set_t *set)
{
if (!hb_object_destroy (set)) return;
- set->page_map.finish ();
- set->pages.finish ();
+ set->finish ();
free (set);
}