From f0a0dcad703ca1db037687b4c59ce11668f38ca6 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Thu, 2 Jun 2022 11:25:56 -0600 Subject: [PATCH] [test-map] Test hashing shared_ptr --- src/test-map.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/test-map.cc b/src/test-map.cc index 65f11243f..c4fdf45c1 100644 --- a/src/test-map.cc +++ b/src/test-map.cc @@ -189,14 +189,12 @@ main (int argc, char **argv) /* Test hb::shared_ptr. */ hb_hash (hb::shared_ptr ()); -#if 0 { - hb_hashmap_t, hb::shared_ptr, std::nullptr_t, std::nullptr_t, nullptr, nullptr> m; + hb_hashmap_t, hb::shared_ptr> m; m.get (hb::shared_ptr ()); m.get (hb::shared_ptr (hb_set_get_empty ())); } -#endif return 0; }