mirror of
https://github.com/harfbuzz/harfbuzz.git
synced 2025-04-14 09:10:48 +00:00
[test] Fix nullptr_t scope issue
This commit is contained in:
parent
5157cac0e2
commit
e456922a76
1 changed files with 3 additions and 3 deletions
|
@ -100,9 +100,9 @@ main (int argc, char **argv)
|
|||
|
||||
/* Test class key / value types. */
|
||||
{
|
||||
hb_hashmap_t<hb_bytes_t, int, nullptr_t, int, nullptr, 0> m1;
|
||||
hb_hashmap_t<int, hb_bytes_t, int, nullptr_t, 0, nullptr> m2;
|
||||
hb_hashmap_t<hb_bytes_t, hb_bytes_t, nullptr_t, nullptr_t, nullptr, nullptr> m3;
|
||||
hb_hashmap_t<hb_bytes_t, int, std::nullptr_t, int, nullptr, 0> m1;
|
||||
hb_hashmap_t<int, hb_bytes_t, int, std::nullptr_t, 0, nullptr> m2;
|
||||
hb_hashmap_t<hb_bytes_t, hb_bytes_t, std::nullptr_t, std::nullptr_t, nullptr, nullptr> m3;
|
||||
assert (m1.get_population () == 0);
|
||||
assert (m2.get_population () == 0);
|
||||
assert (m3.get_population () == 0);
|
||||
|
|
Loading…
Add table
Reference in a new issue