[test-map] Test hashing shared_ptr

This commit is contained in:
Behdad Esfahbod 2022-06-02 11:25:56 -06:00
parent 4c1b5d9ece
commit f0a0dcad70
1 changed files with 1 additions and 3 deletions

View File

@ -189,14 +189,12 @@ main (int argc, char **argv)
/* Test hb::shared_ptr. */ /* Test hb::shared_ptr. */
hb_hash (hb::shared_ptr<hb_set_t> ()); hb_hash (hb::shared_ptr<hb_set_t> ());
#if 0
{ {
hb_hashmap_t<hb::shared_ptr<hb_set_t>, hb::shared_ptr<hb_set_t>, std::nullptr_t, std::nullptr_t, nullptr, nullptr> m; hb_hashmap_t<hb::shared_ptr<hb_set_t>, hb::shared_ptr<hb_set_t>> m;
m.get (hb::shared_ptr<hb_set_t> ()); m.get (hb::shared_ptr<hb_set_t> ());
m.get (hb::shared_ptr<hb_set_t> (hb_set_get_empty ())); m.get (hb::shared_ptr<hb_set_t> (hb_set_get_empty ()));
} }
#endif
return 0; return 0;
} }